Pin Nixpkgs from flake to registry in HM config

This commit is contained in:
2022-09-04 10:34:25 -07:00
parent f34b51fcf3
commit 7925232e9a

View File

@@ -27,6 +27,9 @@
home = {
inherit username;
};
# Pin nixpkgs flake to local nix registry so it gets used by commands like nix-shell
# https://discourse.nixos.org/t/local-flake-based-nix-search-nix-run-and-nix-shell/13433/12
nix.registry.nixpkgs.flake = nixpkgs;
}
];
});