nix: set NIX_PATH per device versions at buildtime
Previously all devices would have NIX_PATH set on the common verion file defindd in *nix/variables/versions.nix*. Now NIX_PATH is populated with the versions of the respective device.
This commit is contained in:
parent
3bcf7b0397
commit
522d7279bd
10 changed files with 77 additions and 48 deletions
|
@ -1,9 +1,12 @@
|
|||
{
|
||||
...
|
||||
{ pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/graphical-fullblown.nix;
|
||||
nixpkgs.config.packageOverrides = pkgs: with pkgs; {
|
||||
nixPath = (import ../../../default.nix { versionsPath = ./versions.nix; }).nixPath;
|
||||
};
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/graphical-fullblown.nix { inherit pkgs; };
|
||||
services.teamviewer.enable = true;
|
||||
system.stateVersion = "19.09";
|
||||
}
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
}:
|
||||
|
||||
{
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix;
|
||||
nixpkgs.config.packageOverrides = pkgs: with pkgs; {
|
||||
nixPath = (import ../../../default.nix { versionsPath = ./versions.nix; }).nixPath;
|
||||
};
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix { inherit pkgs; };
|
||||
|
||||
services.hydra = {
|
||||
enable = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue