forked from pub-solar/infra
11 lines
236 B
Nix
11 lines
236 B
Nix
|
{ ... }:
|
||
|
let
|
||
|
inherit (default.inputs.nixos) lib;
|
||
|
|
||
|
host = configs.${hostname} or configs.PubSolarOS;
|
||
|
configs = default.nixosConfigurations;
|
||
|
default = (import ../.).defaultNix;
|
||
|
hostname = lib.fileContents /etc/hostname;
|
||
|
in
|
||
|
host
|