switch to latest kernel
This commit is contained in:
parent
3a6a4220d1
commit
c2594dbc3b
|
@ -10,6 +10,7 @@ in {
|
||||||
serverBase
|
serverBase
|
||||||
serverHetzner
|
serverHetzner
|
||||||
serverEncryptedDrive
|
serverEncryptedDrive
|
||||||
|
kernelLatest
|
||||||
])
|
])
|
||||||
|
|
||||||
profiles.nixos.nginx
|
profiles.nixos.nginx
|
||||||
|
|
|
@ -15,6 +15,7 @@ in {
|
||||||
laptop
|
laptop
|
||||||
gaming
|
gaming
|
||||||
encryptedUSB
|
encryptedUSB
|
||||||
|
kernelLatest
|
||||||
])
|
])
|
||||||
|
|
||||||
(with tree.profiles.nixos; [
|
(with tree.profiles.nixos; [
|
||||||
|
@ -34,11 +35,16 @@ in {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
home-manager.users.guest = {
|
home-manager.users.guest = {
|
||||||
imports = with tree; [
|
imports = flatten (with tree; [
|
||||||
profiles.home-manager.base
|
(with profiles.home-manager; [
|
||||||
presets.home-manager.gaming
|
base
|
||||||
presets.home-manager.guiDesktop
|
])
|
||||||
];
|
|
||||||
|
(with presets.home-manager; [
|
||||||
|
gaming
|
||||||
|
guiDesktop
|
||||||
|
])
|
||||||
|
]);
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
5
presets/nixos/kernelLatest.nix
Normal file
5
presets/nixos/kernelLatest.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{tree, ...}: {
|
||||||
|
imports = with tree.profiles.nixos.kernels; [
|
||||||
|
latest
|
||||||
|
];
|
||||||
|
}
|
9
profiles/nixos/kernels/latest.nix
Normal file
9
profiles/nixos/kernels/latest.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib.modules) mkForce;
|
||||||
|
in {
|
||||||
|
boot.kernelPackages = mkForce pkgs.linuxPackages_latest;
|
||||||
|
}
|
Loading…
Reference in a new issue