Commit graph

5 commits

Author SHA1 Message Date
c5b4191d66 Jibril, update to match new host modules 2024-11-29 02:09:23 -08:00
9ab0f5bfc9 Hosts, add wheel and network group management 2024-11-28 14:18:11 -08:00
10038a1fde System, dynamic users for host, removes user.name
adds a new specialArg to hosts: usernameList, which is a list of users
determined through user/user.nix in the host/hostname dir.

This touches syncthing, tuigreet, jibril, shells, and system

removes the user.name field, and converts user.timezone to
system.timezone. This is to move user content off of the host.

This old system is replaced with dynamic user creation based on the
usernameList variable

Because this removes the users.users.defaultUser shells now use the
(more appropriate) users.defaultUserShell
2024-11-28 13:55:44 -08:00
85262bf9e1 System, get hostname from directory structure 2024-11-25 13:21:06 -08:00
9171e5365c 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
Renamed from hosts/jibril/default.nix (Browse further)