mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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