Files
JakeHillion 2211798744
flake / flake (push) Successful in 2m55s
nix-builder (x86_64-linux) Build completed successfully
bob.lt: init host
2025-11-10 19:07:58 +00:00

77 lines
1.7 KiB
Nix

{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
boot = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
swap = {
size = "64G";
content = {
type = "luks";
name = "swap";
settings = {
allowDiscards = true;
};
content = {
type = "swap";
};
};
};
root = {
size = "100%";
content = {
type = "luks";
name = "root";
settings = {
allowDiscards = true;
};
content = {
type = "btrfs";
subvolumes = {
"/data" = {
mountpoint = "/data";
mountOptions = [ "compress=zstd" "ssd" ];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "ssd" ];
};
};
};
};
};
};
};
};
};
nodev = {
"/" = {
fsType = "tmpfs";
mountOptions = [
"mode=755"
"size=100%"
];
};
};
};
}