make grasp work

This commit is contained in:
Anish Lakhwara
2023-04-27 16:14:01 +10:00
parent 70e8fa79bd
commit f8acfda6e5
5 changed files with 56 additions and 15 deletions
+1 -5
View File
@@ -19,17 +19,13 @@
../profiles/wallabag
../profiles/finance
../profiles/sync/website
../profiles/grasp
# ../profiles/archivebox
../profiles/woodpecker-agent
../profiles/jellyfin
../profiles/ulogger-server
];
# Something broke when manually updating grasp...
# services.grasp.enable = true;
# services.grasp.path = "/home/anish/kitaab/grasp/grasp.wiki";
# services.grasp.user = "anish";
# Backups
age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
services.postgresqlBackup = {
+1
View File
@@ -27,6 +27,7 @@
"cal.mossnet.lan"
"archive.mossnet.lan"
"tracks.mossnet.lan"
"grasp.mossnet.lan"
];
"192.168.1.226" = [
"df-web.lan"
+9 -3
View File
@@ -1,6 +1,12 @@
{ ... }:
{
services."grasp".enable = true;
services."grasp".path = "/home/anish/kitaab/grasp";
services."grasp".user = "anish";
services.grasp = {
enable = true;
path = "/home/anish/kitaab/grasp";
user = "anish";
};
services.nginx.virtualHosts."grasp.mossnet.lan" = {
locations."/".proxyPass = "http://localhost:12212";
};
}