diff options
Diffstat (limited to 'modules/private/system.nix')
-rw-r--r-- | modules/private/system.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/private/system.nix b/modules/private/system.nix index 0e72d99..c7e277c 100644 --- a/modules/private/system.nix +++ b/modules/private/system.nix | |||
@@ -4,7 +4,12 @@ | |||
4 | networking.extraHosts = builtins.concatStringsSep "\n" | 4 | networking.extraHosts = builtins.concatStringsSep "\n" |
5 | (lib.mapAttrsToList (n: v: "${v.config.hostEnv.ips.main.ip4} ${n}") nodes); | 5 | (lib.mapAttrsToList (n: v: "${v.config.hostEnv.ips.main.ip4} ${n}") nodes); |
6 | 6 | ||
7 | users.extraUsers.root.openssh.authorizedKeys.keyFiles = [ "${config.myEnv.privateFiles}/id_ed25519.pub" ]; | 7 | users.extraUsers.root.openssh.authorizedKeys.keys = [ config.myEnv.sshd.rootKeys.nix_repository ]; |
8 | secrets.deleteSecretsVars = true; | ||
9 | secrets.gpgKeys = [ | ||
10 | ../../nixops/public_keys/Immae.pub | ||
11 | ]; | ||
12 | |||
8 | services.openssh.enable = true; | 13 | services.openssh.enable = true; |
9 | 14 | ||
10 | services.duplyBackup.profiles.system = { | 15 | services.duplyBackup.profiles.system = { |