feat(etna): switch to linux 6.6

This commit is contained in:
uku 2024-12-17 16:15:09 +01:00
parent efec23d7c6
commit ba26d014dd
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -13,6 +13,13 @@
group = "cloudflared";
};
in {
assertions = [
{
assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.6.31";
message = "Linux kernel is too old! Please upgrade to ~6.6.31 or 6.9+";
}
];
imports = [
(lib.mkAliasOptionModule ["cfTunnels"] ["services" "cloudflared" "tunnels" tunnelId "ingress"])
@ -34,10 +41,7 @@ in {
./vaultwarden.nix
];
boot = {
kernelPackages = pkgs.linuxPackages_6_1;
loader.systemd-boot.enable = true;
};
boot.loader.systemd-boot.enable = true;
networking.interfaces.eno1 = {
wakeOnLan.enable = true;