mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03: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