From 771fec583ffb701aa12bca500eb9f1def3f7ef89 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 19 May 2025 16:27:18 -0500 Subject: [PATCH 1/2] Update hardware-configuration.nix for flynode. --- hosts/flynode/hardware-configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/flynode/hardware-configuration.nix b/hosts/flynode/hardware-configuration.nix index d0378b7..aeb3788 100644 --- a/hosts/flynode/hardware-configuration.nix +++ b/hosts/flynode/hardware-configuration.nix @@ -18,8 +18,8 @@ fsType = "zfs"; }; - fileSystems."/nix" = - { device = "zpool/nix"; + fileSystems."/home" = + { device = "zpool/home"; fsType = "zfs"; }; @@ -28,13 +28,13 @@ fsType = "zfs"; }; - fileSystems."/home" = - { device = "zpool/home"; + fileSystems."/nix" = + { device = "zpool/nix"; fsType = "zfs"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/0642-E087"; + { device = "/dev/disk/by-uuid/001D-B2B7"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; From 6141634cb1e3b0f3b860b56f73e22903f9b441a6 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 19 May 2025 16:30:58 -0500 Subject: [PATCH 2/2] Hard-code in a path to root's SSH private key so provisioning with secrets on initial install is possible. --- hosts/flynode/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/flynode/default.nix b/hosts/flynode/default.nix index c839fa4..50ee5fc 100644 --- a/hosts/flynode/default.nix +++ b/hosts/flynode/default.nix @@ -57,6 +57,8 @@ group = "users"; }; + age.identityPaths = [ "/root/.ssh/id_rsa" ]; + # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. #