update pruflas config

This commit is contained in:
Tim Schubert 2022-09-08 20:14:57 +02:00
parent 628edc7e98
commit 7db500680b
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 10 additions and 11 deletions

View file

@ -72,13 +72,6 @@ with lib; {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
swapDevices = [
{
device = "/var/swapfile";
size = 32768;
}
];
# Desktop things for media playback
services.xserver.enable = true;

View file

@ -14,7 +14,7 @@
{
device = "/dev/disk/by-uuid/767a84ad-4157-4e9f-a3db-145449edd3bc";
fsType = "btrfs";
options = [ "subvol=root" ];
options = [ "subvol=root" "compress=zstd" ];
};
fileSystems."/boot" =
@ -27,16 +27,22 @@
{
device = "/dev/disk/by-uuid/767a84ad-4157-4e9f-a3db-145449edd3bc";
fsType = "btrfs";
options = [ "subvol=home" ];
options = [ "subvol=home" "compress=zstd" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/767a84ad-4157-4e9f-a3db-145449edd3bc";
fsType = "btrfs";
options = [ "subvol=nix" ];
options = [ "subvol=nix" "compress=zstd" ];
};
swapDevices = [ ];
fileSystems."/swap" = {
device = "/dev/disk/by-uuid/767a84ad-4157-4e9f-a3db-145449edd3bc";
fsType = "btrfs";
options = [ "subvol=swap" "noatime" ];
};
swapDevices = [ { device = "/swap/swapfile"; } ];
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;