nichts/modules/system/os/security/security.mod.nix

32 lines
744 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
security = {
# Enable Soteria, a GTK-based Polkit authentication agent.
soteria.enable = true;
apparmor = {
enable = true;
killUnconfinedConfinables = true;
packages = [ pkgs.apparmor-profiles ];
};
2025-07-19 00:33:08 +02:00
pam.services = {
login.kwallet = {
enable = true;
# package = pkgs.kdePackages.kwallet-pam;
};
niri = {
allowNullPassword = true;
kwallet = {
enable = true;
package = pkgs.kdePackages.kwallet-pam;
};
};
};
};
2025-07-19 00:33:08 +02:00
environment.systemPackages = with pkgs.kdePackages; [
kwallet # provides helper service
kwallet-pam # provides helper service
kwalletmanager # provides KCMs and stuff
];
2024-08-22 21:41:20 +02:00
}