Files
sydnix/users/lain/default.nix
2025-02-03 20:41:05 -07:00

44 lines
1012 B
Nix
Executable File

{
systemConfiguration = { config, ... }: {
isNormalUser = true;
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [
# Admin account.
"wheel"
# Default permissions to modify /persist.
"persist"
# Can modify the files served by Nginx.
"nginx"
# Can modify Deertopia's git-annex repos.
"annex"
# Can modify Deertopia's Jellyfin libraries.
"jellyfin"
];
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
openssh.authorizedKeys.keyFiles = [
../../public-keys/crumb-at-guix-rebound.pub
../../public-keys/crumble-at-fruitbook.pub
];
};
homeConfiguration = { config, lib, pkgs, ... }: {
imports = [
];
sydnix = {
impermanence = {
enable = true;
directories = [
".ssh"
];
};
};
# Don't touch!
home.stateVersion = "18.09";
};
}