Add a simple template for a module
Just to remind me of the incantation.
This commit is contained in:
parent
01d8e5a580
commit
859ae228d6
1 changed files with 11 additions and 0 deletions
11
modules/system/template.nix
Normal file
11
modules/system/template.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.myModules.template.enable = mkEnableOption "custom template configuration";
|
||||
|
||||
config = mkIf config.myModules.template.enable {
|
||||
#environment.systemPackages = with pkgs; [
|
||||
#template
|
||||
#];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue