lifebook: smaller fixes

This commit is contained in:
Kabbone 2024-07-17 21:17:50 +02:00
parent cb84afaaec
commit e5db869b82
Signed by: Kabbone
SSH Key Fingerprint: SHA256:ezolxoMIF3LNo1yc1aGNCvFNUiSZNjUbNhrZohFeKd0
3 changed files with 13 additions and 7 deletions

View File

@ -95,6 +95,7 @@
pciutils
usbutils
wget
file
powertop
cpufrequtils
lm_sensors
@ -117,6 +118,7 @@
btop
sbctl
ausweisapp
e2fsprogs
];
};

View File

@ -19,7 +19,7 @@
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
kernelModules = [ "i915" "kvm_intel" "vfio_pci" "vfio" "vfio_iommu_type1" ];
systemd.enable = true;
luks = {
@ -33,9 +33,9 @@
kernelModules = [ "kvm-intel" ];
kernelParams = [ "luks.options=fido2-device=auto" ];
extraModprobeConfig = ''
options i915 enable_guc=3 enable_fbc=1 fastboot=1
'';
# extraModprobeConfig = ''
# options i915 enable_guc=3 enable_fbc=1 fastboot=1
# '';
tmp.useTmpfs = false;
tmp.cleanOnBoot = true;
};
@ -122,6 +122,12 @@
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@opt,discard=async" ];
};
fileSystems."/var" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@var,discard=async" ];
};
fileSystems."/mnt/snapshots/root" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";

BIN
modules/themes/wall.jpg (Stored with Git LFS)

Binary file not shown.

1
modules/themes/wall.jpg Symbolic link
View File

@ -0,0 +1 @@
nixos-wallpaper-catppuccin-mocha.svg