machines: bump linux kernel to 6.1

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-03 15:22:57 +03:00
parent c981d404a2
commit 50027eeefd
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
3 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
let let
data = import ../../data.nix; data = import ../../data.nix;
@ -14,6 +14,8 @@ in
./services/wireguard.nix ./services/wireguard.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_6_1;
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
zramSwap.enable = true; zramSwap.enable = true;

View file

@ -17,7 +17,7 @@
# Configure kernel # Configure kernel
boot = { boot = {
# kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_6_1;
extraModulePackages = with config.boot.kernelPackages; [ extraModulePackages = with config.boot.kernelPackages; [
rtl88x2bu rtl88x2bu
]; ];

View file

@ -17,6 +17,8 @@ in
./services/gitea.nix ./services/gitea.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_6_1;
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
zramSwap.enable = true; zramSwap.enable = true;