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 pciutils
usbutils usbutils
wget wget
file
powertop powertop
cpufrequtils cpufrequtils
lm_sensors lm_sensors
@ -117,6 +118,7 @@
btop btop
sbctl sbctl
ausweisapp ausweisapp
e2fsprogs
]; ];
}; };

View File

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