nix-dotfiles/hosts/jibril
Julia Lange ba5fd48569
Hosts, Use directory-driven hosts in flake.nix
This adds some code to flake.nix to read the directory of hosts/ and
find all hosts based on their host.nix file, and set the hostname based
on the directory.

I don't know enough about hostnames to know what are valid characters,
but in the future this could allow a hostname such as "servers/madoka"
which may be an issue. For now the structure is simple enough of
"hosts/name" resulting in hostname "name"

Another commit is planned which will do the same thing for users
2024-11-14 13:58:59 -08:00
..
users/pan Merge home-manager into nixos 2024-11-11 21:01:02 -08:00
hardware.nix Merge home-manager into nixos 2024-11-11 21:01:02 -08:00
host.nix Hosts, Use directory-driven hosts in flake.nix 2024-11-14 13:58:59 -08:00
networks.toml Merge home-manager into nixos 2024-11-11 21:01:02 -08:00
secrets.yaml Merge home-manager into nixos 2024-11-11 21:01:02 -08:00