{config, ...}: { role.sils = "laptop"; sils = { disks.enable = false; meta = { bootPart = "/dev/disk/by-uuid/4064-2D6C"; globalDataDir = "/srv"; hostname = "hplappi"; mainDisk = "/dev/disk/by-uuid/68da1329-f5ea-4f2c-a38e-faffaaaa6b5a"; rootPart = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab"; system = "x86_64-linux"; }; }; home-manager.backupFileExtension = "backup"; boot = { initrd = { luks.devices."cryptroot" = { crypttabExtraOpts = ["fido2-device=auto"]; device = config.sils.meta.rootPart; }; }; resumeDevice = config.sils.meta.mainDisk; kernelParams = ["resume_offset=369403136"]; }; fileSystems = { "/" = { device = "tmpfs"; fsType = "tmpfs"; options = ["defaults" "size=2G" "mode=755"]; }; "/tmp" = { device = "tmpfs"; fsType = "tmpfs"; options = ["defaults" "size=5G" "mode=755"]; }; "/nix" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=nix" "compress-force=zstd"]; }; "/etc/NetworkManager" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=networkmanagerconfig" "compress-force=zstd"]; }; "/etc/secureboot" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=secureboot" "compress-force=zstd"]; }; "/etc/nixos" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=nixconfig" "compress-force=zstd"]; }; "/srv" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=srv" "compress-force=zstd"]; neededForBoot = true; }; "/swap" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=swap" "noatime"]; }; "/home" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=home" "compress-force=zstd"]; }; "/srv/snapshots" = { device = config.sils.meta.mainDisk; fsType = "btrfs"; options = ["subvol=snapshots" "compress-force=zstd"]; }; "/boot" = { device = config.sils.meta.bootPart; fsType = "vfat"; }; }; swapDevices = [ { device = "/swap/swapfile"; } ]; }