From 3e792a7361bda01518ff594cc46ff45cc0441746 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sun, 27 Apr 2025 15:39:13 -0500 Subject: [PATCH] remove ext4 disko config backup --- nixos/disk-config.nix.b | 56 ----------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 nixos/disk-config.nix.b diff --git a/nixos/disk-config.nix.b b/nixos/disk-config.nix.b deleted file mode 100644 index 77b56ab..0000000 --- a/nixos/disk-config.nix.b +++ /dev/null @@ -1,56 +0,0 @@ -{ - disko.devices = { - disk = { - vdb = { - type = "disk"; - device = "/dev/nvme0n1"; - content = { - type = "gpt"; - partitions = { - ESP = { - priority = 1; - name = "ESP"; - start = "1M"; - end = "128M"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - }; - root = { - size = "100%"; - content = { - type = "btrfs"; - extraArgs = [ "-f" ]; # Override existing partition - # Subvolumes must set a mountpoint in order to be mounted, - # unless their parent is mounted - subvolumes = { - # Subvolume name is different from mountpoint - "/rootfs" = { - mountpoint = "/"; - }; - # Subvolume name is the same as the mountpoint - "/home" = { - mountOptions = [ "compress=zstd" ]; - mountpoint = "/home"; - }; - # Sub(sub)volume doesn't need a mountpoint as its parent is mounted - "/home/elliott" = { }; - # Parent is not mounted so the mountpoint must be set - "/nix" = { - mountOptions = [ "compress=zstd" "noatime" ]; - mountpoint = "/nix"; - }; - }; - - mountpoint = "/partition-root"; - }; - }; - }; - }; - }; - }; - }; -}