Nix configurations for my personal machines (Linux & macOS)

fix: use flake input for nixpkgs path

ovyerus.com 32229808 1d943ef8

verified
Changed files
+2 -6
modules
+2 -6
modules/nixpkgs.nix
···
-
{
-
inputs,
-
pkgs,
-
...
-
}: {
# Make sure that the `nixpkgs` reference on the CLI refers to the system
# nixpkgs so that it does not keep re-downloading the latest version every
# time I want to run a single package
nix.registry.nixpkgs.to = {
type = "path";
-
path = pkgs.path;
narHash = inputs.nixpkgs.narHash;
};
···
+
{inputs, ...}: {
# Make sure that the `nixpkgs` reference on the CLI refers to the system
# nixpkgs so that it does not keep re-downloading the latest version every
# time I want to run a single package
nix.registry.nixpkgs.to = {
type = "path";
+
path = inputs.nixpkgs;
narHash = inputs.nixpkgs.narHash;
};