mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
agenix: migrate nuc
This commit is contained in:
parent
517f03c86e
commit
3c5095f144
17 changed files with 60 additions and 144 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue