From 488c070cb360e3593eae33bd82111d55d7f7c382 Mon Sep 17 00:00:00 2001 From: Truxnell <9149206+truxnell@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:39:39 +1000 Subject: [PATCH] chore: update boot fs --- nixos/hosts/shodan/default.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/nixos/hosts/shodan/default.nix b/nixos/hosts/shodan/default.nix index 25539e2..0a053f2 100644 --- a/nixos/hosts/shodan/default.nix +++ b/nixos/hosts/shodan/default.nix @@ -58,17 +58,27 @@ fileSystems."/" = { - device = "/dev/disk/by-uuid/2e843998-f409-4ccc-bc7c-07099ee0e936"; - fsType = "ext4"; + device = "rpool/local/root"; + fsType = "zfs"; + }; + + fileSystems."/nix" = + { + device = "rpool/local/nix"; + fsType = "zfs"; + }; + + fileSystems."/persist" = + { + device = "rpool/safe/persist"; + fsType = "zfs"; }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/12CE-A600"; + device = "/dev/disk/by-uuid/76FA-78DF"; fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = - [{ device = "/dev/disk/by-uuid/0ae2765b-f3f4-4b1a-8ea6-599f37504d70"; }]; - }