Home: Rename home/modules to home/homemodules
This commit is contained in:
14
home/homemodules/0_template/default.nix
Normal file
14
home/homemodules/0_template/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
config,
|
||||
nixosConfig,
|
||||
lib,
|
||||
mylib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules) TEMPLATE color;
|
||||
in {
|
||||
options.modules.TEMPLATE = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = lib.mkIf TEMPLATE.enable {};
|
||||
}
|
||||
7
home/homemodules/0_template/options.nix
Normal file
7
home/homemodules/0_template/options.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
mylib,
|
||||
...
|
||||
}: {
|
||||
enable = lib.mkEnableOption "TEMPLATE";
|
||||
}
|
||||
Reference in New Issue
Block a user