feat: disable signal user for blog
This commit is contained in:
parent
98e22fb96a
commit
8b35e56d03
|
@ -39,12 +39,6 @@ in
|
|||
group = "blog";
|
||||
mode = "0700";
|
||||
}
|
||||
{
|
||||
directory = "/var/lib/signal";
|
||||
user = "signal";
|
||||
group = "signal";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
systemd.timers.blog-update = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
|
@ -53,12 +47,6 @@ in
|
|||
OnUnitActiveSec = "1m";
|
||||
};
|
||||
};
|
||||
users.groups.signal = { };
|
||||
users.users.signal = {
|
||||
isSystemUser = true;
|
||||
group = "signal";
|
||||
home = "/var/lib/signal";
|
||||
};
|
||||
users.groups.blog = { };
|
||||
users.users.blog = {
|
||||
isSystemUser = true;
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
plugins = ps: with ps; [ ender3v2tempfix ];
|
||||
settings = {
|
||||
accessControl = {
|
||||
addRemoteUsers = true;
|
||||
trustRemoteUser = true;
|
||||
#addRemoteUsers = true;
|
||||
#trustRemoteUser = true;
|
||||
remoteUserHeader = "X-User";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue