summaryrefslogtreecommitdiff
path: root/shared/nixos
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-21 16:04:31 +0100
committerLinnnus <[email protected]>2024-12-21 16:19:09 +0100
commit334250012b41c3fd2b2dc177b0a14bd23e13d672 (patch)
tree20a61d1e40614f4864f679ec02987c1b7c1cd647 /shared/nixos
parentc7a50827e444e08a6e14d18c90a85109121ecda3 (diff)
Define packages in overlays/additions
Diffstat (limited to 'shared/nixos')
-rw-r--r--shared/nixos/common-nix-settings/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared/nixos/common-nix-settings/default.nix b/shared/nixos/common-nix-settings/default.nix
index b5c0a02..6a34cac 100644
--- a/shared/nixos/common-nix-settings/default.nix
+++ b/shared/nixos/common-nix-settings/default.nix
@@ -37,10 +37,9 @@ lib.mkMerge [
# Use overlays from this repo for building system configuration as well as system-wide.
# See: https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH
"nixpkgs-overlays=${flakeInputs.self}/overlays/compat.nix"
-
- # This will additionally add out inputs to the system's legacy channels
- # Making legacy nix commands consistent as well, awesome!
]
+ # This will additionally add out inputs to the system's legacy channels
+ # Making legacy nix commands consistent as well, awesome!
++ lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
# Add shell-utilities which are only relevant if Nix is enabled.