1
0
Fork 0

Fix registry

This commit is contained in:
maralorn 2023-02-19 12:25:22 +01:00
parent c2f7e8e1de
commit ee00a86744
3 changed files with 18 additions and 17 deletions

View file

@ -269,30 +269,32 @@
"locked": {
"lastModified": 1676718858,
"narHash": "sha256-giQecvcifVLNHCC9lMfTGP09tNxXhOMw+d/aql7MhRw=",
"owner": "NixOS",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e6d5772f3515b8518d50122471381feae7cbae36",
"type": "github"
},
"original": {
"id": "nixpkgs",
"owner": "nixos",
"ref": "nixos-22.11",
"type": "indirect"
"repo": "nixpkgs",
"type": "github"
}
},
"nixos-unstable": {
"locked": {
"lastModified": 1676721149,
"narHash": "sha256-mN2EpTGxxVNnFZLoLWRwh6f7UWhXy4qE+wO2CZyrXps=",
"owner": "NixOS",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5f4e07deb7c44f27d498f8df9c5f34750acf52d2",
"type": "github"
},
"original": {
"id": "nixpkgs",
"owner": "nixos",
"ref": "nixos-unstable",
"type": "indirect"
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-140774-workaround": {

View file

@ -24,7 +24,8 @@
};
url = "git+ssh://git@hera.m-0.eu/nix-output-monitor?ref=main";
};
nixos-unstable.url = "nixpkgs/nixos-unstable";
# Dont use registry so that we can override it locally.
nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-mailserver = {
inputs = {
flake-compat.follows = "";
@ -35,7 +36,7 @@
};
url = "git+https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git";
};
nixos-stable.url = "nixpkgs/nixos-22.11";
nixos-stable.url = "github:nixos/nixpkgs/nixos-22.11";
flake-parts.inputs.nixpkgs-lib.follows = "nixos-unstable";
home-manager = {
url = "home-manager/release-22.11";

View file

@ -115,15 +115,13 @@
};
nix = {
registry = [
{
from = {
type = "indirect";
id = "nixpkgs";
};
flake = pkgs.flake-inputs.nixos-stable;
}
];
registry.nixpkgs = {
from = {
type = "indirect";
id = "nixpkgs";
};
flake = pkgs.flake-inputs.nixos-stable;
};
settings.trusted-users = ["maralorn" "laminar"];
# Extra Option which is on by default: allow-import-from-derivation = true
extraOptions = ''