mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat(modules/nix): machine's nixpkgs in nixPath
This commit is contained in:
parent
eb8e0c0056
commit
c772e650ba
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -22,8 +21,8 @@ with lib;
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"nixpkgs=${inputs.nixpkgs}"
|
"nixpkgs=${config.machine.meta.nixpkgs_version}"
|
||||||
"nixos=${inputs.nixpkgs}"
|
"nixos=${config.machine.meta.nixpkgs_version}"
|
||||||
];
|
];
|
||||||
settings = {
|
settings = {
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue