1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 11:26:20 +00:00
wyswort/host/system/disks.nix
2024-10-12 18:43:57 +09:00

24 lines
511 B
Nix

{ config, lib, pkgs, 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" ];
};
"/boot" = { # EFI
device = "/dev/disk/by-uuid/8547-1299";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
zramSwap = { # ZRAM
enable = true;
memoryPercent = 50;
algorithm = "zstd";
};
}