nixos/gogs: fixed user creation if non-default user
This commit is contained in:
parent
f72e323388
commit
0f2b46cdba
@ -240,7 +240,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
users = mkIf (cfg.user == "gogs") {
|
||||
extraUsers.gogs = {
|
||||
description = "Go Git Service";
|
||||
uid = config.ids.uids.gogs;
|
||||
|
Loading…
Reference in New Issue
Block a user