Automatically creates an admin account with sops data. Not my favorite
process because user needs to know to change the sops password to be
owned by forgejo, otherwise good though.
Has a bunch of useful config settings for setting up a server easily.
Commit with that to follow.
Point of worry: SSH_PORT setting isn't set, and will probably need to be
set later to allow people to commit and similar to the repos.
I'm in love with lf now. But my divorce has made me see that I do not in
fact need a terminal file browser as an automatic app. If anything is
getting added it's zoxide
The old .gitignore contained the hypr icons path. Newer versions of nix
did not want to rebuild because hypr/icons didn't exist in git. The fix
was simple to move the .gitignore from the home directory to inside of
the icons folder and include it. That way icons can be added and the
folder exists.
Oh--this also adds musescore because that was the impetus to fix this...
It has nothing critical to do with the commit, I'd just rather have them
in one rn
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
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.
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
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.