diff options
| author | Fuwn <[email protected]> | 2024-09-19 15:52:36 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-19 15:52:36 -0700 |
| commit | 875af84f8185650cc26baef1939741527bbbaefc (patch) | |
| tree | 05cbd9581f3aefecde2b34817db2e7207d43a256 /modules/nix/nh.nix | |
| parent | himeji: add docker volume (diff) | |
| download | nixos-config-875af84f8185650cc26baef1939741527bbbaefc.tar.xz nixos-config-875af84f8185650cc26baef1939741527bbbaefc.zip | |
modules: nix options
Diffstat (limited to 'modules/nix/nh.nix')
| -rw-r--r-- | modules/nix/nh.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/nix/nh.nix b/modules/nix/nh.nix index 70951c0..5b54192 100644 --- a/modules/nix/nh.nix +++ b/modules/nix/nh.nix @@ -1,6 +1,9 @@ +{ lib, config, ... }: { - programs.nh = { - enable = true; - clean.enable = false; + config = lib.mkIf config.modules.nix.extend { + programs.nh = { + enable = true; + clean.enable = false; + }; }; } |