diff options
| author | seth <[email protected]> | 2024-07-09 06:45:24 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-09 15:38:51 -0400 |
| commit | 6368272cdeec8c69800b4e7645402914f48e5c33 (patch) | |
| tree | f5e321fac25da065bff0480a63b0031eee00a031 /modules/shared | |
| parent | 74159b94f662fc737f5614bdd29fd76bf27cee27 (diff) | |
modules: better document most things
Diffstat (limited to 'modules/shared')
| -rw-r--r-- | modules/shared/base/nix.nix | 2 | ||||
| -rw-r--r-- | modules/shared/base/programs.nix | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/shared/base/nix.nix b/modules/shared/base/nix.nix index 1085e28..dd94939 100644 --- a/modules/shared/base/nix.nix +++ b/modules/shared/base/nix.nix @@ -11,6 +11,7 @@ in options.base.nixSettings = { enable = lib.mkEnableOption "basic Nix settings" // { default = config.base.enable; + defaultText = lib.literalExpression "config.base.enable"; }; lix.enable = lib.mkEnableOption "the use of Lix over Nix" // { @@ -30,6 +31,7 @@ in "flakes" "auto-allocate-uids" ] + # TODO: remove this nonsense when all implementations remove repl-flake ++ lib.optional ( lib.versionOlder config.nix.package.version "2.22.0" # repl-flake was removed in nix 2.22.0 || lib.versionAtLeast config.nix.package.version "2.90.0-rc1" # but not in lix yet diff --git a/modules/shared/base/programs.nix b/modules/shared/base/programs.nix index bba27b3..fc853f8 100644 --- a/modules/shared/base/programs.nix +++ b/modules/shared/base/programs.nix @@ -3,6 +3,7 @@ options.base.defaultPrograms = { enable = lib.mkEnableOption "default programs" // { default = config.base.enable; + defaultText = lib.literalExpression "config.base.enable"; }; }; } |
