1
0
Fork 0

Compare commits

..

2 commits

Author SHA1 Message Date
Aires a0603c7fb9 General: remove extraneous input 2024-08-30 14:21:59 -04:00
Aires 8ea5c0b469 Nix: simplify registry reference 2024-08-30 14:17:06 -04:00
3 changed files with 10 additions and 11 deletions

View file

@ -234,11 +234,11 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724955811, "lastModified": 1725028484,
"narHash": "sha256-wYm52B5MR4T/cliD5IHRJ2eA27KiAzTUsIE0zc5g70Q=", "narHash": "sha256-bqPYW6fYTul0RpInWxJxaLpn31y0aYi4bMRCnWjhFPk=",
"ref": "709dad0963098dedb6f0c648fef75d95b8f52841", "ref": "refs/heads/main",
"rev": "709dad0963098dedb6f0c648fef75d95b8f52841", "rev": "26588368303142902ef91c67ad679da6be5bbeee",
"revCount": 62, "revCount": 63,
"type": "git", "type": "git",
"url": "file:./nix-secrets" "url": "file:./nix-secrets"
}, },
@ -313,11 +313,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1724727824, "lastModified": 1724855419,
"narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=", "narHash": "sha256-WXHSyOF4nBX0cvHN3DfmEMcLOVdKH6tnMk9FQ8wTNRc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "36bae45077667aff5720e5b3f1a5458f51cf0776", "rev": "ae2fc9e0e42caaf3f068c1bfdc11c71734125e06",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -48,7 +48,6 @@
nix-flatpak, nix-flatpak,
nixos-hardware, nixos-hardware,
nixpkgs, nixpkgs,
nixpkgs-unstable,
nix-secrets, nix-secrets,
... ...
}: }:

View file

@ -59,8 +59,8 @@ in
}; };
# Configure NixOS to use the same software channel as Flakes # Configure NixOS to use the same software channel as Flakes
registry = lib.mapAttrs (_: value: { flake = value; }) inputs; registry.nixpkgs.flake = inputs.nixpkgs;
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
# Configure remote build machines # Configure remote build machines
# To enable remote builds for a specific host, add `nix.distributedBuilds = true;` to its config # To enable remote builds for a specific host, add `nix.distributedBuilds = true;` to its config