summaryrefslogtreecommitdiff
path: root/modules/nh.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nh.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/nh.nix b/modules/nh.nix
index 832fbeb..49e987b 100644
--- a/modules/nh.nix
+++ b/modules/nh.nix
@@ -1,9 +1,11 @@
-{pkgs, lib, config, ... }: let
+{ lib, config, ... }:
+let
conf = config.addons.nh;
-in {
+in
+{
options.addons.nh = {
enable = lib.mkOption {
- default = true;
+ default = true;
description = "Enable nix cli helper";
};
@@ -11,7 +13,7 @@ in {
default = "/home/wilkuu/nix-config/";
description = "Flake location for nh to use";
};
- };
+ };
config = {
programs.nh = {