diff options
| author | Grisha Shipunov | 2025-03-18 21:34:07 +0100 |
|---|---|---|
| committer | Grisha Shipunov | 2025-03-18 21:34:07 +0100 |
| commit | 0c8d583aca537be01ac0765c0b7e5c09a431b203 (patch) | |
| tree | 52a5a734e79387953e2dab67f4f23691c9fa90c1 /modules/basic-tools | |
| parent | b729d2f7d950207b8566dcd1c134936acdd1137f (diff) | |
update toaster to unstable
Diffstat (limited to 'modules/basic-tools')
| -rw-r--r-- | modules/basic-tools/nix.nix | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/modules/basic-tools/nix.nix b/modules/basic-tools/nix.nix index 980ab76..a67c6a8 100644 --- a/modules/basic-tools/nix.nix +++ b/modules/basic-tools/nix.nix @@ -1,7 +1,5 @@ { - lib, pkgs, - inputs, ... }: { @@ -16,14 +14,10 @@ # nix output-monitor environment.systemPackages = [ pkgs.nix-output-monitor ]; - # override default nix shell nixpkgs# behaviour to use current flake lock - nix.registry = - let - flakes = lib.filterAttrs (_name: value: value ? outputs) inputs.self.inputs; - in - builtins.mapAttrs (_name: v: { flake = v; }) flakes; - - nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value.outPath}") inputs.self.inputs; + nixpkgs.flake = { + setFlakeRegistry = true; + setNixPath = true; + }; nixpkgs.config.allowUnfree = true; } |
