mirror of
https://git.sr.ht/~azikx/wyswort
synced 2024-10-30 11:06:19 +00:00
24 lines
511 B
Nix
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";
|
|
};
|
|
}
|