From 2f5203f9ec17082f2c75843c4d6092b0bcb5cf20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 31 Mar 2024 16:23:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20(hosts)=20replace=20dep?= =?UTF-8?q?recated=20gnupg=20pinentryFlavor=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/aurum/system/security/default.nix | 7 +++++-- hosts/silicium/system/security/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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