Compare commits
No commits in common. "65edf315b29db95716a3261a236e92d8356260c7" and "7d82ac39a65fffbecd4ebf8e5fb231152c328b67" have entirely different histories.
65edf315b2
...
7d82ac39a6
7 changed files with 29 additions and 61 deletions
|
@ -1,24 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
package = pkgs.unstable.gotosocial;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
services = {
|
|
||||||
gotosocial = {
|
|
||||||
enable = true;
|
|
||||||
package = package;
|
|
||||||
settings = {
|
|
||||||
application-name = "Nolan's Social Media";
|
|
||||||
host = "gts.thewordnerd.info";
|
|
||||||
port = 8081;
|
|
||||||
landing-page-user = "nolan";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
caddy.virtualHosts."gts.thewordnerd.info".extraConfig = ''
|
|
||||||
reverse_proxy http://localhost:8081
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
environment.systemPackages = [ package ];
|
|
||||||
}
|
|
23
hosts/hub/apps/karakeep.nix
Normal file
23
hosts/hub/apps/karakeep.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /var/lib/actual 0755 root root"
|
||||||
|
];
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.actual = {
|
||||||
|
image = "actualbudget/actual-server:latest";
|
||||||
|
ports = [
|
||||||
|
"5006:5006"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
ACTUAL_LOGIN_METHOD = "header";
|
||||||
|
};
|
||||||
|
volumes = [ "/var/lib/actual:/data" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy.virtualHosts."https://budget.tailc50184.ts.net".extraConfig = ''
|
||||||
|
bind tailscale/budget
|
||||||
|
reverse_proxy http://localhost:5006
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1,21 +0,0 @@
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
age.secrets.thewordnerd_peertube = {
|
|
||||||
file = ../../../secrets/thewordnerd_peertube.age;
|
|
||||||
owner = config.services.peertube.user;
|
|
||||||
};
|
|
||||||
services = {
|
|
||||||
peertube = {
|
|
||||||
enable = true;
|
|
||||||
localDomain = "peertube.thewordnerd.info";
|
|
||||||
listenWeb = 443;
|
|
||||||
redis.createLocally = true;
|
|
||||||
database.createLocally = true;
|
|
||||||
secrets.secretsFile = config.age.secrets.thewordnerd_peertube.path;
|
|
||||||
};
|
|
||||||
caddy.virtualHosts."peertube.thewordnerd.info".extraConfig = ''
|
|
||||||
reverse_proxy http://localhost:9000
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -18,6 +18,7 @@
|
||||||
../../roles/lldap.nix
|
../../roles/lldap.nix
|
||||||
../../roles/authelia.nix
|
../../roles/authelia.nix
|
||||||
../../roles/podman.nix
|
../../roles/podman.nix
|
||||||
|
../../roles/minio.nix
|
||||||
../../roles/caddy.nix
|
../../roles/caddy.nix
|
||||||
../../roles/vscode-remote.nix
|
../../roles/vscode-remote.nix
|
||||||
../../roles/postgres.nix
|
../../roles/postgres.nix
|
||||||
|
@ -27,8 +28,6 @@
|
||||||
./apps/dev.nix
|
./apps/dev.nix
|
||||||
./apps/nextcloud.nix
|
./apps/nextcloud.nix
|
||||||
./apps/paperless.nix
|
./apps/paperless.nix
|
||||||
./apps/gts.nix
|
|
||||||
./apps/peertube.nix
|
|
||||||
./apps/searxng.nix
|
./apps/searxng.nix
|
||||||
./apps/actual.nix
|
./apps/actual.nix
|
||||||
./apps/adguard.nix
|
./apps/adguard.nix
|
||||||
|
|
|
@ -37,5 +37,4 @@ in
|
||||||
hub
|
hub
|
||||||
nolan
|
nolan
|
||||||
];
|
];
|
||||||
"thewordnerd_peertube.age".publicKeys = [ hub ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 5X7MKw 8HgABUK/pWaX4v3hcf4Q0QKNrvwZfLLGGYNSYEY6eAE
|
|
||||||
DaPJEDRHG60VWEJCdRxlU+N/gsPL608nqYl4/w0d8fw
|
|
||||||
--- XdjnYGqiHzc1SCNXV9p08Tonizbg5wXSJiCUV+Sgj2g
|
|
||||||
ù*‘œü!”
SÆìSÊ|.{–¥¢Uú¥¯<C2A5>`—‰Yf~‡z+K—¬1ÕêjS\/cÄb^‚R±I<C2B1>öš§&¿&&¡È¼ŸsjCŽÐø‰ûöÑÅxXKVF
|
|
|
@ -10,14 +10,11 @@
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
home-manager.users.root = {
|
home-manager.users.root.home = {
|
||||||
programs.fish.enable = true;
|
shellAliases = {
|
||||||
home = {
|
"systemctl" = "systemctl --no-ager -l";
|
||||||
shellAliases = {
|
"journalctl" = "journalctl --no-pager -l";
|
||||||
"systemctl" = "systemctl --no-pager -l";
|
|
||||||
"journalctl" = "journalctl --no-pager -l";
|
|
||||||
};
|
|
||||||
stateVersion = "24.11";
|
|
||||||
};
|
};
|
||||||
|
stateVersion = "24.11";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue