From e72a6b69ca3cd1e9e430b37ecb5ac44e25a259f3 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Mon, 29 Jan 2024 05:11:49 +0000 Subject: [PATCH] put nixpkgs in flake registry --- flake.lock | 30 +++++++++++++++--------------- sets/base.nix | 7 +++++-- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index 183bb1a..f856b4b 100644 --- a/flake.lock +++ b/flake.lock @@ -225,11 +225,11 @@ ] }, "locked": { - "lastModified": 1706001011, - "narHash": "sha256-J7Bs9LHdZubgNHZ6+eE/7C18lZ1P6S5/zdJSdXFItI4=", + "lastModified": 1706435589, + "narHash": "sha256-yhEYJxMv5BkfmUuNe4QELKo+V5eq1pwhtVs6kEziHfE=", "owner": "nix-community", "repo": "home-manager", - "rev": "3df2a80f3f85f91ea06e5e91071fa74ba92e5084", + "rev": "4d54c29bce71f8c261513e0662cc573d30f3e33e", "type": "github" }, "original": { @@ -295,11 +295,11 @@ ] }, "locked": { - "lastModified": 1705806513, - "narHash": "sha256-FcOmNjhHFfPz2udZbRpZ1sfyhVMr+C2O8kOxPj+HDDk=", + "lastModified": 1706411424, + "narHash": "sha256-BzziJYucEZvdCE985vjPoo3ztWcmUiSQ1wJ2CoT6jCc=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "f8e04fbcebcc24cebc91989981bd45f69b963ed7", + "rev": "c782f2a4f6fc94311ab5ef31df2f1149a1856181", "type": "github" }, "original": { @@ -310,11 +310,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1705312285, - "narHash": "sha256-rd+dY+v61Y8w3u9bukO/hB55Xl4wXv4/yC8rCGVnK5U=", + "lastModified": 1706182238, + "narHash": "sha256-Ti7CerGydU7xyrP/ow85lHsOpf+XMx98kQnPoQCSi1g=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "bee2202bec57e521e3bd8acd526884b9767d7fa0", + "rev": "f84eaffc35d1a655e84749228cde19922fcf55f1", "type": "github" }, "original": { @@ -325,11 +325,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1705856552, - "narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=", + "lastModified": 1706191920, + "narHash": "sha256-eLihrZAPZX0R6RyM5fYAWeKVNuQPYjAkCUBr+JNvtdE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d", + "rev": "ae5c332cbb5827f6b1f02572496b141021de335f", "type": "github" }, "original": { @@ -368,11 +368,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1705961248, - "narHash": "sha256-sqK417zKqVoxallioKRtHMSssOJT6gEpQ9FIuBKIoG0=", + "lastModified": 1706481554, + "narHash": "sha256-MRvzc4KwKoVf0jCfmuDfbvzY9QN3Zlo3YtZ9wxlqIzU=", "owner": "nix-community", "repo": "nixvim", - "rev": "01c21406c6f4f6c137f861f9503572c5d0c9d98b", + "rev": "43f3cb7ab2bae6c27a92f306c27e053ef2cb0063", "type": "github" }, "original": { diff --git a/sets/base.nix b/sets/base.nix index 21f4f0d..ffc58da 100644 --- a/sets/base.nix +++ b/sets/base.nix @@ -7,8 +7,11 @@ (key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") inputs; nix = { - nixPath = - [ "/etc/channels" "/nix/var/nix/profiles/per-user/root/channels" ]; + nixPath = [ "/etc/channels" ]; + registry.nixpkgs.to = { + type = "path"; + path = inputs.nixpkgs.outPath; + }; settings.auto-optimise-store = true; extraOptions = '' experimental-features = nix-command flakes