diff options
| author | seth <[email protected]> | 2024-10-11 05:11:06 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-10-11 05:11:06 -0400 |
| commit | b0ba81bdbfb47ad196395c292ff58a9e809f936d (patch) | |
| tree | 9d653901849116fb3fbd3caa47a4bfac74826fc7 /modules/shared | |
| parent | 07b137f47d616cfe9d282cb65741f6174dc73269 (diff) | |
modules/nix: only use lix on linux
Diffstat (limited to 'modules/shared')
| -rw-r--r-- | modules/shared/base/nix.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/shared/base/nix.nix b/modules/shared/base/nix.nix index 0c13276..1f8cd49 100644 --- a/modules/shared/base/nix.nix +++ b/modules/shared/base/nix.nix @@ -5,6 +5,7 @@ ... }: let + inherit (pkgs.stdenv.hostPlatform) isLinux; cfg = config.base.nixSettings; in { @@ -15,7 +16,7 @@ in }; lix.enable = lib.mkEnableOption "the use of Lix over Nix" // { - default = true; + default = isLinux; }; }; @@ -24,7 +25,7 @@ in package = lib.mkIf cfg.lix.enable pkgs.lix; settings = { - auto-optimise-store = pkgs.stdenv.isLinux; + auto-optimise-store = isLinux; experimental-features = [ "nix-command" |
