refactor(nixosmodules): move boot config to module
This commit is contained in:
parent
2d29c8ffef
commit
5bef7c46a6
9 changed files with 61 additions and 57 deletions
|
@ -11,10 +11,13 @@ in
|
|||
{
|
||||
imports = [
|
||||
./nix-config.nix
|
||||
./boot.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
"${moduleName}".enable = lib.mkEnableOption "Enable ${moduleName}.";
|
||||
"${moduleName}" = {
|
||||
enable = lib.mkEnableOption "Enable ${moduleName}.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue