3face7eddd
This changes how the templates use nixpkgs. Before, we instantiated nixpkgs in the flake and passd it directly to the configs; this was good for consistency, but silently ignored `nixpkgs.*` options, generating confusion among users. We now use modules to configure nixpkgs. This should help avoid cases such as: https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798/17 The drawback is that we can no longer test overlayed packages like so: `nix build .#foo`, you can do it like so instead: `nix build .#nixosConfigurations.your-system.pkgs.foo`. Personally, I've been avoiding override packages globally in my own config.
81 lines
2 KiB
JSON
81 lines
2 KiB
JSON
{
|
|
"nodes": {
|
|
"hardware": {
|
|
"locked": {
|
|
"lastModified": 1667585378,
|
|
"narHash": "sha256-cvOwucrjBaAkaGk3FunG+MQiwiSBeIVTtO5n/YavpC0=",
|
|
"owner": "nixos",
|
|
"repo": "nixos-hardware",
|
|
"rev": "6b35a59c19ddbbeb229fcd1d3dcd422dcc0fa927",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"repo": "nixos-hardware",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"home-manager": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
],
|
|
"utils": "utils"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1667574732,
|
|
"narHash": "sha256-73TVk3uSQOja6Q/5OuNcpcqwo6+SMzJPRtYAjU0rBx4=",
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"rev": "b764068a506c6f70dba998efa0e7fcb99cb4deb2",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1667482890,
|
|
"narHash": "sha256-pua0jp87iwN7NBY5/ypx0s9L9CG49Ju/NI4wGwurHc4=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "a2a777538d971c6b01c6e54af89ddd6567c055e8",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"hardware": "hardware",
|
|
"home-manager": "home-manager",
|
|
"nixpkgs": "nixpkgs"
|
|
}
|
|
},
|
|
"utils": {
|
|
"locked": {
|
|
"lastModified": 1667077288,
|
|
"narHash": "sha256-bdC8sFNDpT0HK74u9fUkpbf1MEzVYJ+ka7NXCdgBoaA=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|