ark/lib/compat/nixos/default.nix

9 lines
230 B
Nix
Raw Normal View History

2022-03-09 23:55:02 +03:00
{...}: let
inherit (default.inputs.nixos) lib;
host = configs.${hostname} or configs.NixOS;
configs = default.nixosConfigurations;
default = (import ../.).defaultNix;
hostname = lib.fileContents /etc/hostname;
in
2022-02-18 20:31:01 +03:00
host