i need to start making smaller commits

This commit is contained in:
xunuwu 2024-08-02 08:16:21 +02:00
parent 29473532c7
commit 088b45ff45
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
19 changed files with 397 additions and 23 deletions

View file

@ -2,6 +2,7 @@
inputs,
config,
pkgs,
lib,
...
}: {
imports = [
@ -59,12 +60,25 @@
fsType = "btrfs";
options = ["subvol=nix" "compress=zstd" "noatime"];
};
"/.swapvol" = {
device = "/dev/disk/by-uuid/d87276c0-ef9c-422e-b2de-effc1b47c654";
fsType = "btrfs";
options = ["subvol=swap" "noatime"];
};
"/boot" = {
device = "/dev/disk/by-uuid/588B-CB97";
fsType = "vfat";
};
};
boot.resumeDevice = "/dev/disk/by-uuid/d87276c0-ef9c-422e-b2de-effc1b47c654";
# btrfs inspect-internal map-swapfile -r /.swapvol/swapfile
boot.kernelParams = ["resume_offset=76293376"];
swapDevices = lib.singleton {
device = "/.swapvol/swapfile";
};
hardware.enableAllFirmware = true;
services.xserver.videoDrivers = [