diff --git a/flake.lock b/flake.lock index b163bd2..d89c154 100755 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,25 @@ { "nodes": { + "disko": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1749200714, + "narHash": "sha256-W8KiJIrVwmf43JOPbbTu5lzq+cmdtRqaNbOsZigjioY=", + "owner": "nix-community", + "repo": "disko", + "rev": "17d08c65c241b1d65b3ddf79e3fac1ddc870b0f6", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "disko", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -167,6 +187,7 @@ }, "root": { "inputs": { + "disko": "disko", "home-manager": "home-manager", "impermanence": "impermanence", "nixpkgs": "nixpkgs", diff --git a/hardware-configuration.nix b/hardware-configuration.nix old mode 100755 new mode 100644 index 35db43b..1307121 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -14,31 +14,20 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "zpool/root"; + { device = "zroot/root"; fsType = "zfs"; }; fileSystems."/nix" = - { device = "zpool/nix"; + { device = "zroot/nix"; fsType = "zfs"; }; - fileSystems."/var" = - { device = "zpool/var"; + fileSystems."/persist" = + { device = "zroot/persist"; fsType = "zfs"; }; - fileSystems."/home" = - { device = "zpool/home"; - fsType = "zfs"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/8D3A-0C41"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking