summaryrefslogtreecommitdiffstats
path: root/common/default.nix
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2023-04-10 15:02:15 +0200
committerMinijackson <minijackson@riseup.net>2023-04-10 15:02:15 +0200
commitb354e48d48d18ac6c50791c27bd088d4ae0c3e45 (patch)
tree8dd26bed483fa11f85322e4e883d24908f81b55d /common/default.nix
parent520ac2b328b227625685082464ccab0e2564726e (diff)
downloadnixos-config-reborn-b354e48d48d18ac6c50791c27bd088d4ae0c3e45.tar.gz
nixos-config-reborn-b354e48d48d18ac6c50791c27bd088d4ae0c3e45.zip
nix: set NIX_PATH in the same way as the nix registry
Diffstat (limited to 'common/default.nix')
-rw-r--r--common/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/default.nix b/common/default.nix
index 7b53735..60385d3 100644
--- a/common/default.nix
+++ b/common/default.nix
@@ -1,6 +1,6 @@
1inputs: 1inputs:
2 2
3{ config, lib, ... }: 3{ config, ... }:
4 4
5{ 5{
6 imports = [ 6 imports = [
@@ -27,8 +27,5 @@ inputs:
27 }) 27 })
28 ]; 28 ];
29 29
30 nix.registry = with lib;
31 mapAttrs (name: value: { flake = value; }) inputs;
32
33 services.nscd.enableNsncd = true; 30 services.nscd.enableNsncd = true;
34} 31}