2025-01-28 18:24:07 -05:00

23 lines
338 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.nmasur.profiles.latest;
in
{
options.nmasur.profiles.latest.enable = lib.mkEnableOption "keeping machine up-to-date";
config = lib.mkIf cfg.enable {
# Use latest released Linux kernel by default
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
}