fuji: set kern to latest, make boot les verbose, misc tuning
This commit is contained in:
+16
-1
@@ -67,7 +67,9 @@ in
|
|||||||
'';
|
'';
|
||||||
blacklistedKernelModules = [ ];
|
blacklistedKernelModules = [ ];
|
||||||
|
|
||||||
|
consoleLogLevel = 3;
|
||||||
initrd.compressor = "zstd";
|
initrd.compressor = "zstd";
|
||||||
|
initrd.verbose = false;
|
||||||
initrd.kernelModules = [ ];
|
initrd.kernelModules = [ ];
|
||||||
initrd.systemd.enable = true;
|
initrd.systemd.enable = true;
|
||||||
initrd.luks.devices."cryptroot" = {
|
initrd.luks.devices."cryptroot" = {
|
||||||
@@ -81,8 +83,10 @@ in
|
|||||||
kernelParams = [
|
kernelParams = [
|
||||||
"xe.force_probe=a7a0"
|
"xe.force_probe=a7a0"
|
||||||
"i915.force_probe=!a7a0"
|
"i915.force_probe=!a7a0"
|
||||||
|
"quiet"
|
||||||
|
"udev.log_level=3"
|
||||||
];
|
];
|
||||||
#kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "fq";
|
"net.core.default_qdisc" = "fq";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
@@ -100,12 +104,18 @@ in
|
|||||||
"net.ipv4.conf.default.send_redirects" = 0;
|
"net.ipv4.conf.default.send_redirects" = 0;
|
||||||
"net.ipv6.conf.all.accept_redirects" = 0;
|
"net.ipv6.conf.all.accept_redirects" = 0;
|
||||||
"net.ipv6.conf.default.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.efi.canTouchEfiVariables = true;
|
||||||
loader.systemd-boot = {
|
loader.systemd-boot = {
|
||||||
editor = false;
|
editor = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
memtest86.enable = true;
|
memtest86.enable = true;
|
||||||
|
configurationLimit = 10;
|
||||||
};
|
};
|
||||||
nixStoreMountOpts = [ "ro" ];
|
nixStoreMountOpts = [ "ro" ];
|
||||||
supportedFilesystems = [
|
supportedFilesystems = [
|
||||||
@@ -254,6 +264,11 @@ in
|
|||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
wlr.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
documentation.dev.enable = true;
|
documentation.dev.enable = true;
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|||||||
Reference in New Issue
Block a user