tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
weird-row-server: add paisa
wiro.world
3 months ago
e67ed74f
6b2455ff
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+29
2 changed files
expand all
collapse all
unified
split
hosts
weird-row-server
default.nix
paisa.nix
+1
hosts/weird-row-server/default.nix
···
32
32
./hypixel-bank-tracker.nix
33
33
./lldap.nix
34
34
./miniflux.nix
35
35
+
./paisa.nix
35
36
./pds.nix
36
37
./tangled.nix
37
38
./thelounge.nix
+28
hosts/weird-row-server/paisa.nix
···
1
1
+
{ config
2
2
+
, pkgs
3
3
+
, ...
4
4
+
}:
5
5
+
6
6
+
let
7
7
+
# paisa-port = 3016;
8
8
+
paisa-port = 7500;
9
9
+
in
10
10
+
{
11
11
+
config = {
12
12
+
services.paisa = {
13
13
+
enable = true;
14
14
+
port = paisa-port;
15
15
+
host = "127.0.0.1";
16
16
+
17
17
+
settings = { };
18
18
+
};
19
19
+
systemd.services.paisa.path = [ pkgs.hledger ];
20
20
+
21
21
+
services.caddy = {
22
22
+
virtualHosts."http://paisa.net.wiro.world".extraConfig = ''
23
23
+
bind tailscale/paisa
24
24
+
reverse_proxy http://localhost:${toString config.services.paisa.port}
25
25
+
'';
26
26
+
};
27
27
+
};
28
28
+
}