diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/nix.nix | 3 | ||||
-rw-r--r-- | user/settings/pin.nix | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix index ce68e158..b15f5c5d 100644 --- a/user/settings/nix.nix +++ b/user/settings/nix.nix @@ -2,6 +2,9 @@ , pkgs , ... }: { + imports = [ + ./pin.nix + ]; nixpkgs.config = import ../config.nix; home.packages = with pkgs; [ nil diff --git a/user/settings/pin.nix b/user/settings/pin.nix new file mode 100644 index 00000000..7ce0858b --- /dev/null +++ b/user/settings/pin.nix @@ -0,0 +1,11 @@ +{ attrs, ... }: +let + inherit (attrs) nixpkgs; +in +{ + nix = { + registry = { + nixpkgs.flake = nixpkgs; + }; + }; +} |