mirror of
https://github.com/nmasur/dotfiles
synced 2025-01-31 08:42:02 +00:00
23 lines
338 B
Nix
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;
|
|
|
|
};
|
|
}
|