notes
This commit is contained in:
parent
0755b908da
commit
0d80c86e20
5 changed files with 42 additions and 3 deletions
|
|
@ -11,6 +11,7 @@
|
|||
./hardware-configuration.nix
|
||||
./xynospace-matrix.nix
|
||||
./plausible.nix
|
||||
./obsidianshare.nix
|
||||
# ./ts-ovpn.nix
|
||||
|
||||
../../nixos-modules/system/persist.nix
|
||||
|
|
@ -164,6 +165,11 @@
|
|||
handle @git {
|
||||
reverse_proxy http://127.0.0.1:${toString config.services.forgejo.settings.server.HTTP_PORT}
|
||||
}
|
||||
@notes host notes.xyno.systems
|
||||
handle @notes {
|
||||
reverse_proxy http://127.0.0.1:8086
|
||||
}
|
||||
|
||||
handle {
|
||||
abort
|
||||
}
|
||||
|
|
@ -171,9 +177,6 @@
|
|||
virtualHosts."xyno.systems".extraConfig = ''
|
||||
redir https://xyno.space{uri}
|
||||
'';
|
||||
virtualHosts."graph.czi.dating".extraConfig = ''
|
||||
redir https://graph-czi-dating-s8tan-01d008685713bd0312de3223b3b980279b0ca590.fspages.org{uri}
|
||||
'';
|
||||
virtualHosts."czi.dating".extraConfig = ''
|
||||
redir https://foss-ag.de{uri}
|
||||
'';
|
||||
|
|
|
|||
17
hosts/picard/obsidianshare.nix
Normal file
17
hosts/picard/obsidianshare.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, config, ... }: {
|
||||
ragon.agenix.secrets.picardSharenoteEnv = { };
|
||||
virtualisation.oci-containers.containers."sharenote" = {
|
||||
image = "ghcr.io/thexyno/sharenote-py:latest";
|
||||
environmentFiles = [
|
||||
config.age.secrets.picardSharenoteEnv.path
|
||||
];
|
||||
ports = [
|
||||
"127.0.0.1:8086:8086"
|
||||
];
|
||||
volumes = [
|
||||
"/var/lib/sharenote:/sharenote-py/static"
|
||||
];
|
||||
};
|
||||
ragon.persist.extraDirectories = ["/var/lib/sharenote"];
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue