summaryrefslogtreecommitdiff
path: root/users/seth/shell
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-06 18:02:44 -0400
committerseth <[email protected]>2024-07-09 15:38:51 -0400
commit1143e31f70355576cfc2f7b3063a9302b6f9de71 (patch)
tree9db610909630b7216353975024dd900a51997c76 /users/seth/shell
parenta9e4478903a00c279bd09bab76c224c476f3f2fa (diff)
seth: better document options
Diffstat (limited to 'users/seth/shell')
-rw-r--r--users/seth/shell/bash.nix1
-rw-r--r--users/seth/shell/default.nix7
2 files changed, 6 insertions, 2 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix
index 3be0254..bf5b377 100644
--- a/users/seth/shell/bash.nix
+++ b/users/seth/shell/bash.nix
@@ -6,6 +6,7 @@ in
options.seth.shell.bash = {
enable = lib.mkEnableOption "Bash configuration" // {
default = config.seth.enable;
+ defaultText = lib.literalExpression "config.seth.enable";
};
};
diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix
index bebd790..34b1a98 100644
--- a/users/seth/shell/default.nix
+++ b/users/seth/shell/default.nix
@@ -4,11 +4,14 @@ let
in
{
options.seth.shell = {
- aliases.enable = lib.mkEnableOption "Shell aliases" // {
+ aliases.enable = lib.mkEnableOption "shell aliases" // {
default = config.seth.enable;
+ defaultText = lib.literalExpression "config.seth.enable";
};
- variables.enable = lib.mkEnableOption "Shell variables" // {
+
+ variables.enable = lib.mkEnableOption "shell variables" // {
default = config.seth.enable;
+ defaultText = lib.literalExpression "config.seth.enable";
};
};