switch to latest kernel
This commit is contained in:
parent
3a6a4220d1
commit
c2594dbc3b
|
@ -10,6 +10,7 @@ in {
|
|||
serverBase
|
||||
serverHetzner
|
||||
serverEncryptedDrive
|
||||
kernelLatest
|
||||
])
|
||||
|
||||
profiles.nixos.nginx
|
||||
|
|
|
@ -15,6 +15,7 @@ in {
|
|||
laptop
|
||||
gaming
|
||||
encryptedUSB
|
||||
kernelLatest
|
||||
])
|
||||
|
||||
(with tree.profiles.nixos; [
|
||||
|
@ -34,11 +35,16 @@ in {
|
|||
]);
|
||||
|
||||
home-manager.users.guest = {
|
||||
imports = with tree; [
|
||||
profiles.home-manager.base
|
||||
presets.home-manager.gaming
|
||||
presets.home-manager.guiDesktop
|
||||
];
|
||||
imports = flatten (with tree; [
|
||||
(with profiles.home-manager; [
|
||||
base
|
||||
])
|
||||
|
||||
(with presets.home-manager; [
|
||||
gaming
|
||||
guiDesktop
|
||||
])
|
||||
]);
|
||||
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