1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 09:06:19 +00:00
wyswort/host/system/disks.nix

23 lines
529 B
Nix
Raw Permalink Normal View History

2024-10-15 13:18:01 +00:00
{ modulesPath, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
fileSystems = {
"/" = { # ROOT
device = "/dev/disk/by-uuid/9913d333-cd8d-4960-8e3c-4af764b9a9ca";
fsType = "btrfs";
options = [ "subvol=@" "compress=zstd" ];
};
2024-10-12 09:43:57 +00:00
2024-10-15 13:18:01 +00:00
"/boot" = { # EFI
device = "/dev/disk/by-uuid/8547-1299";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
2024-10-12 09:43:57 +00:00
2024-10-15 13:18:01 +00:00
zramSwap = { # ZRAM
enable = true;
memoryPercent = 50;
algorithm = "zstd";
};
2024-10-12 09:43:57 +00:00
}