move gpg agent to home-manager
This commit is contained in:
parent
8abcc4a5d2
commit
db2662f960
2 changed files with 12 additions and 8 deletions
|
@ -61,8 +61,6 @@
|
|||
ffmpeg
|
||||
ntfs3g
|
||||
unzip
|
||||
|
||||
gnupg
|
||||
];
|
||||
|
||||
shellAliases = {
|
||||
|
@ -77,12 +75,6 @@
|
|||
dconf.enable = true;
|
||||
|
||||
steam.enable = true;
|
||||
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "gnome3"; # "emacs" potential
|
||||
};
|
||||
};
|
||||
|
||||
fonts = {
|
||||
|
|
12
users/profiles/gpg.nix
Normal file
12
users/profiles/gpg.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue