From bf0e130d41c145b0ac8cc92880aef15adb85d4ab Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sun, 22 Feb 2026 23:53:15 +0100 Subject: [PATCH] remove unneeded ssh key stuff from persist and fix the bcachefs wipe script --- nixos/hosts/GLaDOS/configuration.nix | 2 +- nixos/shared/preservation.nix | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/nixos/hosts/GLaDOS/configuration.nix b/nixos/hosts/GLaDOS/configuration.nix index 855c5f7..a1fae61 100644 --- a/nixos/hosts/GLaDOS/configuration.nix +++ b/nixos/hosts/GLaDOS/configuration.nix @@ -102,7 +102,7 @@ mkdir -p /btrfs_tmp/old_homes timestamp=$(date --date="@$(stat -c %Y /btrfs_tmp/home)" "+%Y-%m-%-d_%H:%M:%S") mv /btrfs_tmp/home "/btrfs_tmp/old_homes/$timestamp" - "copy complete!" + echo "copy complete!" fi diff --git a/nixos/shared/preservation.nix b/nixos/shared/preservation.nix index 56f4a87..9d3ccb9 100644 --- a/nixos/shared/preservation.nix +++ b/nixos/shared/preservation.nix @@ -64,16 +64,6 @@ inInitrd = true; how = "symlink"; } - { - file = "/etc/ssh/ssh_host_rsa_key"; - how = "symlink"; - configureParent = true; - } - { - file = "/etc/ssh/ssh_host_ed25519_key"; - how = "symlink"; - configureParent = true; - } "/var/lib/usbguard/rules.conf" # creates a symlink on the volatile root