mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/daiyousei: init. auto hostnames. profiles/cross.
This commit is contained in:
parent
d2a823f5bc
commit
3e52c7648a
22 changed files with 479 additions and 23 deletions
|
|
@ -31,7 +31,12 @@ with lib;
|
|||
config = {
|
||||
nixpkgs = {
|
||||
system = mkDefault pkgs.system;
|
||||
pkgs = mkDefault pkgs;
|
||||
pkgs = let
|
||||
pkgsReval = import pkgs.path {
|
||||
inherit (config.nixpkgs) localSystem crossSystem;
|
||||
inherit (pkgs) overlays config;
|
||||
};
|
||||
in mkDefault (if config.nixpkgs.config == pkgs.config && config.nixpkgs.localSystem.system == pkgs.targetPlatform.system then pkgs else pkgsReval);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue