diff --git a/hosts/Infini-DESKTOP/default.nix b/hosts/Infini-DESKTOP/default.nix index b46d385..024b7e2 100644 --- a/hosts/Infini-DESKTOP/default.nix +++ b/hosts/Infini-DESKTOP/default.nix @@ -28,11 +28,6 @@ files = [ "/etc/machine-id" - "/etc/ssh/ssh_host_rsa_key" - "/etc/ssh/ssh_host_rsa_key.pub" - "/etc/ssh/ssh_host_ed25519_key" - "/etc/ssh/ssh_host_ed25519_key.pub" - "/root/.local/share/nix/trusted-settings.json" "/root/.ssh/known_hosts" ]; diff --git a/hosts/Infini-DESKTOP/hardware-configuration.nix b/hosts/Infini-DESKTOP/hardware-configuration.nix index 8ae1c8d..949ec60 100644 --- a/hosts/Infini-DESKTOP/hardware-configuration.nix +++ b/hosts/Infini-DESKTOP/hardware-configuration.nix @@ -34,6 +34,13 @@ in neededForBoot = true; }; + "/etc/ssh" = { + device = main; + fsType = "btrfs"; + options = [ "subvolid=262" "autodefrag" "noatime" "ssd" ]; + neededForBoot = true; + }; + "/media/main" = { device = main; fsType = "btrfs";