diff options
author | Alan Pearce | 2024-04-10 18:50:02 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-10 18:50:02 +0200 |
commit | 2b09b74ba617346a0c9c932543e658837ef9e5d2 (patch) | |
tree | 980c05a0e50d8026a0884c6015b440c31ebb2c6f /user/settings | |
parent | a2534b9daab7d39d2eeb005f7648b74bc72a8520 (diff) | |
download | nixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.tar.lz nixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.tar.zst nixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.zip |
nix: pin nixpkgs to flake input globally and per-user
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/nix.nix | 2 | ||||
-rw-r--r-- | user/settings/pin.nix | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix index b15f5c5d..ec69d51f 100644 --- a/user/settings/nix.nix +++ b/user/settings/nix.nix @@ -3,7 +3,7 @@ , ... }: { imports = [ - ./pin.nix + ../../pin.nix ]; nixpkgs.config = import ../config.nix; home.packages = with pkgs; [ diff --git a/user/settings/pin.nix b/user/settings/pin.nix deleted file mode 100644 index ab7c8b3e..00000000 --- a/user/settings/pin.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ inputs, ... }: -let - inherit (inputs) nixpkgs; -in -{ - nix = { - registry = { - nixpkgs.flake = nixpkgs; - }; - }; -} |