fix
This commit is contained in:
parent
4c1f3c4de6
commit
5f4752ed13
2 changed files with 15 additions and 46 deletions
|
|
@ -140,10 +140,22 @@ in {
|
|||
config = {};
|
||||
};
|
||||
users.groups.mediamanager = {};
|
||||
custom.users.mediamanager = {
|
||||
enable = true;
|
||||
config = {};
|
||||
snowfallorg.users.mediamanager = {
|
||||
create = true;
|
||||
admin = false;
|
||||
home = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
users.users.mediamanager = {
|
||||
extraGroups = ["mediamanager"];
|
||||
hashedPassword = "!";
|
||||
openssh.authorizedKeys.keys = config.users.users.kylekrein.openssh.authorizedKeys.keys ++
|
||||
[
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICTZaLuOuuoeaYOuXH0KTe91X5nFfUvve3305ADajnvj alidrisel@localhost.localdomain"
|
||||
];
|
||||
};
|
||||
systemd.tmpfiles.rules = ["d ${persist}/home/${username} 0700 mediamanager users -"]; # /persist/home/<user> created, owned by that user
|
||||
networking.firewall.allowedTCPPorts = [80 443 22];
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
system.stateVersion = "25.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue