summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-31 07:05:47 -0400
committerseth <[email protected]>2024-06-01 01:52:42 +0000
commitc6456ea701c4dcabf7676005134db8cf925be7db (patch)
tree78a0652e671b1d09ec86340df24af74beea2ce0d
parent52e89154ce73418834592af5d370e208bb1a28fb (diff)
flake: don't depend on registry for nixpkgs inputs
-rw-r--r--flake.lock10
-rw-r--r--flake.nix4
2 files changed, 8 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index b647fda..d245565 100644
--- a/flake.lock
+++ b/flake.lock
@@ -389,9 +389,10 @@
"type": "github"
},
"original": {
- "id": "nixpkgs",
+ "owner": "NixOS",
"ref": "nixos-unstable",
- "type": "indirect"
+ "repo": "nixpkgs",
+ "type": "github"
}
},
"nixpkgs-stable": {
@@ -404,9 +405,10 @@
"type": "github"
},
"original": {
- "id": "nixpkgs",
+ "owner": "NixOS",
"ref": "nixos-24.05",
- "type": "indirect"
+ "repo": "nixpkgs",
+ "type": "github"
}
},
"openwrt-imagebuilder": {
diff --git a/flake.nix b/flake.nix
index d313b1b..c7a12d6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -37,8 +37,8 @@
};
inputs = {
- nixpkgs.url = "nixpkgs/nixos-unstable";
- nixpkgs-stable.url = "nixpkgs/nixos-24.05";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+ nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";