diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index e02755f1..36391edd 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -5,7 +5,6 @@ ./wireguard-server.nix ./samba-server.nix ./syncthing.nix - ./share.nix ./rss.nix ./home-assistant ./gitea.nix @@ -127,13 +126,6 @@ "plot.tstarr.us" = (SSL // { locations."/".proxyPass = "http://localhost:8988/"; }); - "share.tstarr.us" = (SSL // { - locations."/".proxyPass = "http://localhost:5001/"; - extraConfig = '' - auth_pam "Password Required"; - auth_pam_service_name "nginx"; - ''; - }); }; }; diff --git a/provision/hosts/torus/share.nix b/provision/hosts/torus/share.nix deleted file mode 100644 index 006638e0..00000000 --- a/provision/hosts/torus/share.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, pkgs, user, ... }: -{ - networking.firewall.allowedTCPPorts = [ 5001 ]; - networking.firewall.allowedUDPPorts = [ 5001 ]; - - environment.systemPackages = with pkgs; [ - dufs # Distinctive utility file server - ]; - - systemd.services.share = { - description = "Start dufs for quick sharing of files"; - wantedBy = [ "default.target" ]; - - restartIfChanged = true; - - serviceConfig = { - Type = "simple"; - Restart = "always"; - ExecStart = "${pkgs.dufs}/bin/dufs -p 5001 -A /engi/apps/dufs/share"; - }; - }; -} diff --git a/provision/modules/desktop/browser.nix b/provision/modules/desktop/browser.nix index d1773492..7e7cf4a0 100644 --- a/provision/modules/desktop/browser.nix +++ b/provision/modules/desktop/browser.nix @@ -52,10 +52,10 @@ in { { "toplevel_name" = "Bookmarks"; } { "name" = "Daily"; "children" = [ { "url" = "https://rss.tstarr.us"; name = "Miniflux"; } + { "url" = "https://cloud.tstarr.us"; name = "Nextcloud"; } { "url" = "https://git.tstarr.us"; name = "Gitea"; } { "url" = "https://media.tstarr.us/web/index.html#!/home.html"; name = "Jellyfin"; } { "url" = "https://home.tstarr.us"; name = "Home Assistant"; } - { "url" = "https://share.tstarr.us"; name = "Share (dufs)"; } { "url" = "https://www.youtube.com/feed/subscriptions"; name = "Youtube"; } { "url" = "https://gmail.com/"; name = "Mail"; } { "url" = "https://github.com/"; name = "GitHub"; }