This commit is contained in:
andromeda
2026-01-09 22:27:04 +01:00
commit ecc0d8ffe8
7 changed files with 282 additions and 0 deletions

57
disko.nix Normal file
View File

@@ -0,0 +1,57 @@
{
disko.devices = {
disk = {
disk1 = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
name = "boot";
size = "1M";
type = "EF02";
};
esp = {
name = "ESP";
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
extraArgs = ["-f"];
type = "btrfs";
subvolumes = {
"/root" = {
#mountpoint = "/";
};
"/nix" = {
mountpoint = "/nix";
};
"/persist" = {
mountpoint = "/persist";
};
};
};
};
};
};
};
};
nodev = {
"/" = {
fsType = "tmpfs";
mountOptions = [
"defaults"
"mode=755"
];
};
};
};
}