Use newer kernel

This commit is contained in:
Torjus Håkestad 2024-04-12 21:10:36 +02:00
parent 38148b7ce1
commit 569bb00160

View File

@ -13,24 +13,28 @@
sops.secrets."gotify_tokens/backup-home" = { }; sops.secrets."gotify_tokens/backup-home" = { };
# Bootloader stuff # Bootloader stuff
boot.kernelParams = [ boot = {
"quiet" # Kernel stuff
"splash" kernelPackages = pkgs.linuxPackages_latest;
"rd.systemd.show_status=false" kernelParams = [
]; "quiet"
"splash"
"rd.systemd.show_status=false"
];
boot.loader.systemd-boot = { extraModprobeConfig = ''
enable = true; options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
configurationLimit = 10; options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
'';
# Bootloader stuff
loader.systemd-boot = {
enable = true;
configurationLimit = 10;
};
loader.efi = { canTouchEfiVariables = true; };
supportedFilesystems = [ "nfs" ];
}; };
boot.supportedFilesystems = [ "nfs" ];
boot.loader.efi = { canTouchEfiVariables = true; };
boot.extraModprobeConfig = ''
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
'';
# Networking stuff # Networking stuff
networking.hostName = "gunter"; # Define your hostname. networking.hostName = "gunter"; # Define your hostname.