Files
moonix/modules/user.nix
T
nevaforget 7fc45ae0b8 fix(thinkpad): ready the host for its first install
The host still carried snapper, which the desktop dropped in d3cc03c:
disk.nix creates no .snapshots subvolumes, so the timer would fail every
hour without ever taking a snapshot. The account sat in the docker group
while docker itself was off, and stateVersion named 26.05 although the
machine is first installed on 26.11.

Also drops the stale snapper mentions elsewhere and adds git-firefly to
Zed's auto-installed extensions.
2026-09-23 13:14:30 +02:00

21 lines
716 B
Nix

# ABOUTME: Declares the moonarch.user option; every host sets its own login name.
# ABOUTME: Autologin and group membership read moonarch.user from here.
{ lib, ... }:
{
options.moonarch.user = lib.mkOption {
type = lib.types.str;
example = "moon";
description = ''
Login name of the primary account, and therefore the directory name under
/home. Autologin and the group memberships both read this, so the name is
declared once instead of once per reference.
There is no default: the name belongs to the machine, so every host sets
it. Changing it on an installed system does not rename the home directory —
that stays behind under the old name.
'';
};
}