split direnv, git, and gpg into modules
also removed clipmenu also removed programs.feh, the extra options aren't needed
This commit is contained in:
parent
d272ea161b
commit
bffc08df3a
4 changed files with 36 additions and 37 deletions
10
modules/user/gpg.nix
Normal file
10
modules/user/gpg.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, enableGUI, ... }: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = if enableGUI then "gnome3" else "tty";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue