agenix: migrate nuc

This commit is contained in:
Rouven Seifert 2023-11-16 14:40:40 +01:00
parent 517f03c86e
commit 3c5095f144
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
17 changed files with 60 additions and 144 deletions

View file

@ -25,11 +25,6 @@
systemd.package = pkgs.systemd.override { withHomed = false; };
services.btrfs.autoScrub.enable = true;
sops.secrets."store/secretkey" = { };
nix.extraOptions = ''
secret-key-files = ${config.sops.secrets."store/secretkey".path}
'';
environment.persistence."/nix/persist/system" = {
directories = [
"/etc/ssh"
@ -41,9 +36,7 @@
"/etc/machine-id"
];
};
# impermanence fixes
sops.age.sshKeyPaths = lib.mkForce [ "/nix/persist/system/etc/ssh/ssh_host_ed25519_key" ];
sops.gnupg.sshKeyPaths = lib.mkForce [ ];
age.identityPaths = [ "/nix/persist/system/etc/ssh/ssh_host_ed25519_key" ];
time.timeZone = "Europe/Berlin";