2022-11-20 22:28:23 +00:00
|
|
|
{...}: let
|
2021-01-19 07:51:23 +00:00
|
|
|
inherit (default.inputs.nixos) lib;
|
|
|
|
|
2021-10-24 20:03:28 +00:00
|
|
|
host = configs.${hostname} or configs.PubSolarOS;
|
2021-01-19 07:51:23 +00:00
|
|
|
configs = default.nixosConfigurations;
|
|
|
|
default = (import ../.).defaultNix;
|
|
|
|
hostname = lib.fileContents /etc/hostname;
|
|
|
|
in
|
2022-11-20 22:28:23 +00:00
|
|
|
host
|