mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-04 21:43:15 -06:00
abstract gpg
This commit is contained in:
parent
275b5ca82a
commit
b75cef08ef
6 changed files with 15 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:{
|
||||
}: {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
docker
|
||||
];
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
(pkgs.writeShellScriptBin "gitea" ''
|
||||
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
|
||||
'')
|
||||
'')
|
||||
];
|
||||
|
||||
# https://francis.begyn.be/blog/nixos-restic-backups
|
||||
|
@ -42,9 +42,4 @@
|
|||
isNormalUser = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,8 +19,4 @@
|
|||
};
|
||||
|
||||
users.users.daylin.extraGroups = ["docker"];
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
rclone
|
||||
quarto
|
||||
];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
services.vpn.enable = true;
|
||||
|
@ -36,11 +37,6 @@
|
|||
paths = ["/home/daylin/stuff/" "/home/daylin/dev/"];
|
||||
};
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
users.users.daylin.extraGroups = [
|
||||
"audio"
|
||||
];
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
dev
|
||||
nvim
|
||||
vpn
|
||||
gpg
|
||||
|
||||
# gui
|
||||
fonts
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
cfg = config.desktop;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vscode
|
||||
vscode-fhs
|
||||
];
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vscode
|
||||
vscode-fhs
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
6
modules/security/gpg.nix
Normal file
6
modules/security/gpg.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue