From 2b09b74ba617346a0c9c932543e658837ef9e5d2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 10 Apr 2024 18:50:02 +0200 Subject: nix: pin nixpkgs to flake input globally and per-user --- user/settings/nix.nix | 2 +- user/settings/pin.nix | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 user/settings/pin.nix (limited to 'user') 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; - }; - }; -} -- cgit 1.4.1