From 31c316d19cd974bb81a5d6de62142ff24db1c78e Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 2 Sep 2025 10:48:21 -0400 Subject: reorganized directory structure --- nixos/features/cli/utils/nh.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nixos/features/cli/utils/nh.nix (limited to 'nixos/features/cli/utils') diff --git a/nixos/features/cli/utils/nh.nix b/nixos/features/cli/utils/nh.nix new file mode 100644 index 0000000..e34157e --- /dev/null +++ b/nixos/features/cli/utils/nh.nix @@ -0,0 +1,17 @@ +{ config, lib, ... }: let + cfg = config.features.cli.utils.nh; +in { + options.features.cli.utils.nh = { + enable = lib.mkEnableOption "nh"; + flake = lib.mkOption { + type = lib.types.str; + description = "Absolute path to the flake."; + }; + }; + config = lib.mkIf cfg.enable { + programs.nh = { + enable = true; + flake = cfg.flake; + }; + }; +} -- cgit v1.2.3