Let nixpkgs.flake.setNixPath
/nixpkgs.flake.setFlakeRegistry
set nixpkgs references
This commit is contained in:
parent
eed4c25127
commit
2fe1f71699
10
flake.nix
10
flake.nix
|
@ -68,23 +68,13 @@
|
||||||
nixpkgsAsRegistry_ = stable: { lib, ... }: {
|
nixpkgsAsRegistry_ = stable: { lib, ... }: {
|
||||||
imports = [ applyOverlays ];
|
imports = [ applyOverlays ];
|
||||||
nix.registry.current-system.flake = self;
|
nix.registry.current-system.flake = self;
|
||||||
nix.registry.nixpkgs.flake = stable;
|
|
||||||
nix.registry.nixpkgs-unstable.flake = nixpkgs-unstable;
|
nix.registry.nixpkgs-unstable.flake = nixpkgs-unstable;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.nixPath = [
|
nix.nixPath = [
|
||||||
"nixpkgs=${nixpkgs}"
|
|
||||||
"nixpkgs-unstable=${nixpkgs-unstable}"
|
"nixpkgs-unstable=${nixpkgs-unstable}"
|
||||||
"/nix/var/nix/profiles/per-user/root/channels"
|
"/nix/var/nix/profiles/per-user/root/channels"
|
||||||
];
|
];
|
||||||
# Binary Cache for Haskell.nix
|
|
||||||
nix.settings.trusted-public-keys = [
|
|
||||||
# "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
|
||||||
];
|
|
||||||
nix.settings.substituters = [
|
|
||||||
# "https://cache.iog.io"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
nixpkgsAsRegistry = nixpkgsAsRegistry_ nixpkgs;
|
|
||||||
|
|
||||||
osuStable = { pkgs, ... }: {
|
osuStable = { pkgs, ... }: {
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
|
Loading…
Reference in a new issue