Merge pull request #30020 from The-M1k3y/master
nixos/gogs: fixed user creation if non-default user
This commit is contained in:
commit
90858501ba
|
@ -240,7 +240,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = mkIf (cfg.user == "gogs") {
|
||||||
extraUsers.gogs = {
|
extraUsers.gogs = {
|
||||||
description = "Go Git Service";
|
description = "Go Git Service";
|
||||||
uid = config.ids.uids.gogs;
|
uid = config.ids.uids.gogs;
|
||||||
|
|
Loading…
Reference in New Issue