This commit is contained in:
Lucy Hochkamp 2024-10-18 14:28:47 +02:00
parent 0755b908da
commit 0d80c86e20
No known key found for this signature in database
5 changed files with 42 additions and 3 deletions

View file

@ -3,6 +3,7 @@ with lib;
with lib.my;
{
system.stateVersion = 5;
ids.gids.nixbld = 30000;
users.users.xyno = {
name = "xyno";
@ -58,6 +59,8 @@ with lib.my;
"whisky"
"dbeaver-community"
"rider" # I'm sorry
# "qutebrowser" # rly want to switch to it
# "dmenu-mac"

View file

@ -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}
'';

View 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"];
}