mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Enable nix-helper
This commit is contained in:
parent
e35c1942a3
commit
00d6f9941c
6 changed files with 40 additions and 0 deletions
|
|
@ -15,5 +15,6 @@
|
|||
./boot-loader.nix
|
||||
./printing.nix
|
||||
./syncthing.nix
|
||||
./nix-helper.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
12
modules/system/nix-helper.nix
Normal file
12
modules/system/nix-helper.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.nh.nixosModules.default];
|
||||
|
||||
options.myConfig.nix-helper.enable = lib.mkEnableOption "";
|
||||
|
||||
config.nh.enable = config.myConfig.nix-helper.enable;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue