aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-11 23:46:16 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-11 23:46:16 -0800
commit88979c2318134889fff9af7baa12e37335d9eaba (patch)
tree12f204817e0d01ec9e2fd1b0c1805fe9db0d45a6 /hosts
parent6f24102376a398057cf4acce1ea4069d88ce7cae (diff)
downloadnix-88979c2318134889fff9af7baa12e37335d9eaba.tar
nix-88979c2318134889fff9af7baa12e37335d9eaba.tar.gz
nix-88979c2318134889fff9af7baa12e37335d9eaba.tar.bz2
nix-88979c2318134889fff9af7baa12e37335d9eaba.tar.lz
nix-88979c2318134889fff9af7baa12e37335d9eaba.tar.xz
nix-88979c2318134889fff9af7baa12e37335d9eaba.tar.zst
nix-88979c2318134889fff9af7baa12e37335d9eaba.zip
Modularize disko @jupiter
Diffstat (limited to 'hosts')
-rw-r--r--hosts/jupiter/default.nix1
-rw-r--r--hosts/jupiter/hardware-configuration.nix29
2 files changed, 1 insertions, 29 deletions
diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix
index ecdc3f9..269a51b 100644
--- a/hosts/jupiter/default.nix
+++ b/hosts/jupiter/default.nix
@@ -18,6 +18,7 @@
];
imports = [
+ ./disks.nix
./hardware-configuration.nix
../common/core
../common/optional/misc.nix
diff --git a/hosts/jupiter/hardware-configuration.nix b/hosts/jupiter/hardware-configuration.nix
index 96dd160..051169d 100644
--- a/hosts/jupiter/hardware-configuration.nix
+++ b/hosts/jupiter/hardware-configuration.nix
@@ -13,35 +13,6 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
- fileSystems."/" =
- { device = "rpool/local/root";
- fsType = "zfs";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-label/boot";
- fsType = "vfat";
- };
-
- fileSystems."/nix" =
- { device = "rpool/local/nix";
- fsType = "zfs";
- };
-
- fileSystems."/root" =
- { device = "rpool/user/home/root";
- fsType = "zfs";
- };
-
- fileSystems."/home/nipsy" =
- { device = "rpool/user/home/nipsy";
- fsType = "zfs";
- };
-
- swapDevices =
- [ { device = "/dev/disk/by-label/swap"; }
- ];
-
#nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
#hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}