Commit graph

7 commits

Author SHA1 Message Date
e2e3598230
Jibril, update to match new host modules 2024-11-29 02:09:23 -08:00
91e5b47a8f
Hosts, add wheel and network group management 2024-11-28 14:18:11 -08:00
d994e11918
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
6124a298eb
System, get hostname from directory structure 2024-11-25 13:21:06 -08:00
0e5c6ab2c2
Users, use directory-driven users in flake.nix
This converts from the old manually defined users in flake.nix to a
dynamically defined users based on the directory structure. This is the
same as ba5fd48 but for users instead of hosts.
2024-11-25 09:55:24 -08:00
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
86bc28d6d4
Merge home-manager into nixos
Previously the home-manager and nixos sections of my config had been
separated into different branches on the same repository. This commit
merges the home-manager modules into the directory, and convert the
"systems" that used to be on each branch into hosts and users.

The goal of this change is to make it easier to see the hosts and users
paradigm, as well as limit the number of locations the git repository is
installed. Additionally, having different branches tracking different
changes was silly for a git repository.
2024-11-11 21:01:02 -08:00