diff --git a/fuji/configuration.nix b/fuji/configuration.nix index 1788095..e233b3a 100644 --- a/fuji/configuration.nix +++ b/fuji/configuration.nix @@ -67,7 +67,9 @@ in ''; blacklistedKernelModules = [ ]; + consoleLogLevel = 3; initrd.compressor = "zstd"; + initrd.verbose = false; initrd.kernelModules = [ ]; initrd.systemd.enable = true; initrd.luks.devices."cryptroot" = { @@ -81,8 +83,10 @@ in kernelParams = [ "xe.force_probe=a7a0" "i915.force_probe=!a7a0" + "quiet" + "udev.log_level=3" ]; - #kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_latest; kernel.sysctl = { "net.core.default_qdisc" = "fq"; "net.ipv4.tcp_congestion_control" = "bbr"; @@ -100,12 +104,18 @@ in "net.ipv4.conf.default.send_redirects" = 0; "net.ipv6.conf.all.accept_redirects" = 0; "net.ipv6.conf.default.accept_redirects" = 0; + # zram tuning (recommended by upstream zram docs) + "vm.swappiness" = 180; + "vm.page-cluster" = 0; + "vm.watermark_boost_factor" = 0; + "vm.watermark_scale_factor" = 125; }; loader.efi.canTouchEfiVariables = true; loader.systemd-boot = { editor = false; enable = true; memtest86.enable = true; + configurationLimit = 10; }; nixStoreMountOpts = [ "ro" ]; supportedFilesystems = [ @@ -254,6 +264,11 @@ in sway.enable = true; }; + xdg.portal = { + enable = true; + wlr.enable = true; + }; + documentation.dev.enable = true; systemd = {