Compare commits

..

No commits in common. "5ddd72406752fc0d105db46fd73f751dd9729b9f" and "d290047090349c28d940a8c4699b994283f4d483" have entirely different histories.

4 changed files with 4 additions and 26 deletions

View file

@ -17,9 +17,7 @@ in
}; };
caddy.virtualHosts."gts.thewordnerd.info".extraConfig = '' caddy.virtualHosts."gts.thewordnerd.info".extraConfig = ''
reverse_proxy http://localhost:8081 { reverse_proxy http://localhost:8081
flush_interval -1
}
''; '';
}; };
environment.systemPackages = [ package ]; environment.systemPackages = [ package ];

View file

@ -61,14 +61,12 @@
}; };
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
users.users.nextcloud.extraGroups = [ "docker" ]; users.users.nextcloud.extraGroups = [ "docker" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = [
poppler_utils
(pkgs.writeScriptBin "occ" '' (pkgs.writeScriptBin "occ" ''
#!${pkgs.bash}/bin/bash #!${pkgs.bash}/bin/bash
exec nextcloud-occ "$@" exec nextcloud-occ "$@"
'') '')
]; ];
programs.java.binfmt = true;
system.stateVersion = "24.11"; system.stateVersion = "24.11";
}; };
# https://discourse.nixos.org/t/podman-docker-in-nixos-container-ideally-in-unprivileged-one/22909/12 # https://discourse.nixos.org/t/podman-docker-in-nixos-container-ideally-in-unprivileged-one/22909/12

View file

@ -126,25 +126,8 @@
443 443
]; ];
services.caddy.virtualHosts."thewordnerd.info".extraConfig = '' services.caddy.virtualHosts."thewordnerd.info".extraConfig =
@webfinger { ''redir https://www.thewordnerd.info{uri}'';
path /.well-known/webfinger
# query acct=nolan%3Athewordnerd%40info
}
handle @webfinger {
rewrite * /.well-known/webfinger?resource=acct%3Anolan%40gts.thewordnerd.info
reverse_proxy localhost:8081
}
handle /.well-known/nodeinfo {
reverse_proxy localhost:8081
}
handle /.well-known/host-meta {
reverse_proxy localhost:8081
}
handle {
redir https://www.thewordnerd.info{uri}
}
'';
services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = '' services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = ''
file_server file_server

View file

@ -19,6 +19,5 @@
}; };
stateVersion = "24.11"; stateVersion = "24.11";
}; };
services.ssh-agent.enable = true;
}; };
} }