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" = { };
# Bootloader stuff
boot.kernelParams = [
"quiet"
"splash"
"rd.systemd.show_status=false"
];
boot = {
# Kernel stuff
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
"quiet"
"splash"
"rd.systemd.show_status=false"
];
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 10;
extraModprobeConfig = ''
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
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.hostName = "gunter"; # Define your hostname.