hosts: move gnupg into a module
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -6,6 +6,7 @@ let
|
||||
./nvim.nix
|
||||
./nix.nix
|
||||
./modules/zsh
|
||||
./modules/gnupg
|
||||
{
|
||||
_module.args = globalArgs;
|
||||
}
|
||||
|
@@ -22,12 +22,5 @@
|
||||
|
||||
programs = {
|
||||
git.enable = true;
|
||||
|
||||
gnupg = {
|
||||
agent = {
|
||||
enableSSHSupport = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@@ -24,14 +24,6 @@
|
||||
gcc
|
||||
];
|
||||
|
||||
programs = {
|
||||
gnupg = {
|
||||
agent = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
|
9
hosts/modules/gnupg/default.nix
Normal file
9
hosts/modules/gnupg/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.gnupg = {
|
||||
agent = {
|
||||
enableSSHSupport = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user