fix(*): adapt to nixos-24.05 changes
This commit is contained in:
parent
ae86a8b860
commit
4c18f0a7ab
12 changed files with 56 additions and 27 deletions
|
@ -23,7 +23,7 @@ in {
|
|||
# Hidden=true
|
||||
# '';
|
||||
|
||||
services.gpg-agent.pinentryFlavor = "gnome3";
|
||||
services.gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
|
||||
|
||||
dconf.settings = let
|
||||
manualKeybindings = [
|
||||
|
|
|
@ -36,7 +36,7 @@ in {
|
|||
enable = true;
|
||||
};
|
||||
|
||||
services.gpg-agent.pinentryFlavor = "gnome3";
|
||||
services.gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
|
||||
|
||||
home.packages = [
|
||||
pkgs.swayidle
|
||||
|
|
|
@ -4,17 +4,9 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages =
|
||||
[
|
||||
pkgs.gcr
|
||||
]
|
||||
++ (
|
||||
if config.services.gpg-agent.pinentryFlavor == "gtk2"
|
||||
then [pkgs.pinentry-gtk2]
|
||||
else if config.services.gpg-agent.pinentryFlavor == "gnome3"
|
||||
then [pkgs.pinentry-gnome]
|
||||
else []
|
||||
);
|
||||
home.packages = [
|
||||
pkgs.gcr
|
||||
];
|
||||
|
||||
programs.gpg.enable = true;
|
||||
services.gpg-agent = {
|
||||
|
@ -22,7 +14,7 @@
|
|||
enableScDaemon = true;
|
||||
enableSshSupport = true;
|
||||
grabKeyboardAndMouse = true;
|
||||
pinentryFlavor = lib.mkDefault "gtk2";
|
||||
pinentryPackage = lib.mkDefault pkgs.pinentry-gtk2;
|
||||
extraConfig = ''
|
||||
no-allow-external-cache
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue