diff --git a/hosts/aurum/system/security/default.nix b/hosts/aurum/system/security/default.nix index 8a05d96..b9c7b1d 100644 --- a/hosts/aurum/system/security/default.nix +++ b/hosts/aurum/system/security/default.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { # enable polkit security.polkit.enable = true; @@ -6,12 +6,15 @@ programs.gnupg.agent = { enable = true; enableSSHSupport = true; - pinentryFlavor = "gnome3"; + pinentryPackage = pkgs.pinentry-gnome3; }; # secrets keyring services.gnome.gnome-keyring.enable = true; + # RealtimeKit system + security.rtkit.enable = true; + # allow swaylock to use pam security.pam.services.swaylock = {}; } diff --git a/hosts/silicium/system/security/default.nix b/hosts/silicium/system/security/default.nix index 8a05d96..2cee319 100644 --- a/hosts/silicium/system/security/default.nix +++ b/hosts/silicium/system/security/default.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { # enable polkit security.polkit.enable = true; @@ -6,7 +6,7 @@ programs.gnupg.agent = { enable = true; enableSSHSupport = true; - pinentryFlavor = "gnome3"; + pinentryPackage = pkgs.pinentry-gnome3; }; # secrets keyring