{ lib, ... }: { disko.devices = { disk = { main = { type = "disk"; device = "/dev/disk/by-diskseq/1"; content = { type = "gpt"; partitions = { ESP = { priority = 1; name = "ESP"; start = "1M"; end = "512M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "defaults" ]; }; }; root = { size = "100%"; content = { type = "btrfs"; extraArgs = [ "-L" "nixos" "-f" ]; subvolumes = { "/rootfs" = { mountpoint = "/"; }; "/home" = { mountOptions = [ "compress=zstd" ]; mountpoint = "/home"; }; "/home/annika" = { }; "/nix" = { mountOptions = [ "compress=zstd" "noatime" ]; mountpoint = "/nix"; }; "/swap" = { mountpoint = "/swap"; swap = { swapfile.size = "8G"; }; }; }; }; }; }; }; }; }; }; fileSystems."/var/log".neededForBoot = true; }