mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
initial refactoring
This commit is contained in:
22
platforms/nixos/modules/nmasur/profiles/latest.nix
Normal file
22
platforms/nixos/modules/nmasur/profiles/latest.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
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;
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user