diff options
-rw-r--r-- | nixos/lindy.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/lindy.nix b/nixos/lindy.nix index dbb5cb7..d168db8 100644 --- a/nixos/lindy.nix +++ b/nixos/lindy.nix @@ -90,6 +90,11 @@ environment.etc."machine-id".source = "/nix/persist/etc/machine-id"; + environment.etc."ssh/ssh_host_rsa_key".source = "/nix/persist/etc/ssh/ssh_host_rsa_key"; + environment.etc."ssh/ssh_host_rsa_key.pub".source = "/nix/persist/etc/ssh/ssh_host_rsa_key.pub"; + environment.etc."ssh/ssh_host_ed25519_key".source = "/nix/persist/etc/ssh/ssh_host_ed25519_key"; + environment.etc."ssh/ssh_host_ed25519_key.pub".source = "/nix/persist/etc/ssh/ssh_host_ed25519_key.pub"; + # ---- zonz (encrypted zfs) ---- environment.etc.crypttab = { @@ -108,6 +113,9 @@ Kogami UUID=61534c91-df18-4c71-9244-54e677f5d4fa /nix/persist/root/kogami_key # ---- + # Zram + zramSwap.enable = true; + # Backup services.cron.enable = true; services.cron.systemCronJobs = [ "0 20 * * * root /media/Zonz/lindy/do-backup.sh" ]; |