1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 00:21:47 +03:00

set NIX_PATH to nixpkgs flake

This commit is contained in:
Timothy DeHerrera 2019-12-15 21:36:05 -07:00
parent 78f6065bf2
commit d0aa623d6f
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -19,6 +19,10 @@ let
_module.args.utils = utils; _module.args.utils = utils;
networking.hostName = self; networking.hostName = self;
nix.package = nix.defaultPackage."${system}"; nix.package = nix.defaultPackage."${system}";
nix.nixPath = [
"nixpkgs=${nixpkgs}"
"nixos-config=/etc/nixos/configuration.nix"
];
system.configurationRevision = flake.rev; system.configurationRevision = flake.rev;
}; };