Trying manual wakapi

This commit is contained in:
2025-01-02 12:45:28 +02:00
parent 6ac4e178c4
commit dc07800225

View File

@@ -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";