Use Nix release directly instead of overlaying against nixpkgs

This commit is contained in:
Jack O'Sullivan 2022-02-15 20:55:20 +00:00
parent 948ae3f80f
commit f56e3e8430
3 changed files with 2 additions and 4 deletions

View File

@ -73,8 +73,6 @@
inputs.devshell.overlay
inputs.agenix.overlay
inputs.deploy-rs.overlay
# TODO: This causes a compile from source which is pretty unnecessary
inputs.nix.overlay
(flakePackageOverlay inputs.home-manager-unstable system)
];
}))

View File

@ -87,7 +87,7 @@ in
# Note: If globalPkgs mode is on, then these will be overridden by the NixOS equivalents of these options
nixpkgs = {
overlays = [
inputs.nix.overlay
(final: prev: { nix = inputs.nix.defaultPackage.${config.nixpkgs.system}; })
# TODO: Wait for https://github.com/NixOS/nixpkgs/pull/159074 to arrive to nixos-unstable
(final: prev: { remarshal = pkgs'.master.remarshal; })
];

View File

@ -62,7 +62,7 @@ in
};
nixpkgs = {
overlays = [
inputs.nix.overlay
(final: prev: { nix = inputs.nix.defaultPackage.${config.nixpkgs.system}; })
];
config = {
allowUnfree = true;