diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-06-03 22:29:25 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-06-03 22:29:25 +0200 |
commit | 97019fee71f269fd705eb473055eb2ff79284378 (patch) | |
tree | 47c867a423f7689ee8d15045e3bc9fbd2218e53e | |
parent | b38bbd605436edd69f6be1aecfcf03b6517fb8a8 (diff) |
sync config
some ZFS tuning and more packages for KDE
-rw-r--r-- | common.nix | 11 | ||||
-rw-r--r-- | mini/hardware-configuration.nix | 3 | ||||
-rw-r--r-- | neko/hardware-configuration.nix | 3 | ||||
-rw-r--r-- | projects/kde/kdesrc-buildrc | 2 | ||||
-rw-r--r-- | projects/kde/shell.nix | 1 |
5 files changed, 13 insertions, 7 deletions
@@ -29,6 +29,17 @@ in boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.supportedFilesystems = [ "zfs" ]; + # don't check for split locks, for KVM and Co. + boot.kernelParams = [ "split_lock_detect=off" ]; + + # tweak ZFS + boot.extraModprobeConfig = '' + options zfs zfs_prefetch_disable=1 + options zfs zfs_arc_max=4294967296 + options zfs zfs_arc_min=134217728 + options zfs zfs_arc_meta_limit_percent=75 + ''; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/mini/hardware-configuration.nix b/mini/hardware-configuration.nix index bd59f3a..8472002 100644 --- a/mini/hardware-configuration.nix +++ b/mini/hardware-configuration.nix @@ -10,9 +10,6 @@ boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; - # don't check for split locks, for KVM and Co. - boot.kernelParams = [ "split_lock_detect=off" ]; - # efi partition fileSystems."/boot" = { device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part1"; diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index af44b41..65bc1de 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -10,9 +10,6 @@ boot.initrd.kernelModules = [ "i915" ]; boot.kernelModules = [ "kvm-intel" ]; - # don't check for split locks, for KVM and Co. - boot.kernelParams = [ "split_lock_detect=off" ]; - # efi partition fileSystems."/boot" = { device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part1"; diff --git a/projects/kde/kdesrc-buildrc b/projects/kde/kdesrc-buildrc index 454b4a5..307672e 100644 --- a/projects/kde/kdesrc-buildrc +++ b/projects/kde/kdesrc-buildrc @@ -31,7 +31,7 @@ global log-dir ~/projects/kde/log # use distro stuff for that - ignore-modules wayland wayland-protocols gpgme appstream packagekit-qt + ignore-modules wayland wayland-protocols gpgme appstream packagekit-qt poppler end global include ${module-definitions-dir}/kf6-qt6.ksb diff --git a/projects/kde/shell.nix b/projects/kde/shell.nix index 3a65891..93e4a31 100644 --- a/projects/kde/shell.nix +++ b/projects/kde/shell.nix @@ -49,6 +49,7 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde/usr/lib/qml/QtQu hunspellDicts.en_US intltool isocodes + kdePackages.poppler lcms2 libarchive libcanberra |