Trying manual wakapi
This commit is contained in:
@@ -23,6 +23,24 @@
|
||||
locations."/".proxyPass = "http://localhost:3003/";
|
||||
};
|
||||
|
||||
users.users.wakapi = {
|
||||
createHome = false;
|
||||
isNormalUser = true;
|
||||
group = "users";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
wakapi
|
||||
sqlite
|
||||
]
|
||||
};
|
||||
|
||||
# Make sure the "website" user has access to /srv/website
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/website 0750 website nginx"
|
||||
];
|
||||
|
||||
|
||||
# systemd.services.wakapi.serviceConfig = {
|
||||
# StateDirectoryMode = lib.mkForce "0777";
|
||||
|
||||
Reference in New Issue
Block a user