diff --git a/hosts/sarien/disko/disk-main.nix b/hosts/sarien/disko/disk-main.nix deleted file mode 100644 index b3168d3..0000000 --- a/hosts/sarien/disko/disk-main.nix +++ /dev/null @@ -1,76 +0,0 @@ -{disk, ...}: { - type = "disk"; - device = disk; - content = { - type = "gpt"; - partitions = { - ESP = { - size = "2G"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = [ - "umask=0077" - "fmask=0022" - "dmask=0022" - "noexec" - "nosuid" - "nodev" - ]; - }; - }; - luks = { - size = "100%"; - content = { - type = "luks"; - name = "luks-main"; - initrdUnlock = true; - settings.allowDiscards = true; - content = { - type = "btrfs"; - extraArgs = ["-f"]; - subvolumes = { - "@nixos-root" = { - mountpoint = "/"; - mountOptions = [ - "compress=zstd" - "noatime" - "noexec" - ]; - }; - "@home" = { - mountpoint = "/home"; - mountOptions = [ - "compress=zstd" - "noatime" - ]; - }; - "@storage" = { - mountpoint = "/storage"; - mountOptions = [ - "compress=zstd" - "noatime" - ]; - }; - "@nix" = { - mountpoint = "/nix"; - mountOptions = [ - "compress-force=zstd" - "noatime" - ]; - }; - "@swap" = { - mountpoint = "/swap"; - mountOptions = [ - "noatime" - ]; - }; - }; - }; - }; - }; - }; - }; -}