mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
changed forgejo shell
This commit is contained in:
parent
5ccbc214a1
commit
cd92d6c939
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ in
|
|||
isSystemUser = true;
|
||||
group = "git";
|
||||
home = "/var/lib/forgejo";
|
||||
shell = "${pkgs.git}/bin/git-shell";
|
||||
shell = "${pkgs.shadow}/bin/nologin";
|
||||
};
|
||||
|
||||
users.users.nginx = mkIf nginx.enable {
|
||||
|
|
@ -28,6 +28,7 @@ in
|
|||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/forgejo 0750 git git -"
|
||||
"d /var/lib/forgejo/.ssh 0700 git git -"
|
||||
"d /var/lib/forgejo/custom 0750 git git -"
|
||||
"d /var/lib/forgejo/data 0750 git git -"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue