diff --git a/flake.lock b/flake.lock index 0bafb19..9933efb 100644 --- a/flake.lock +++ b/flake.lock @@ -160,11 +160,11 @@ "utils": "utils_5" }, "locked": { - "lastModified": 1673715233, - "narHash": "sha256-Gnv8F1zdEjbwwUF1erOQE2d1DN8iS13quQsrVk0hoDA=", + "lastModified": 1674038300, + "narHash": "sha256-nvnvjugb+wMEcCkw5WGtyHEjth9mPJLhuXYmIxxR8f0=", "owner": "ChaotiCryptidz", "repo": "musicutil", - "rev": "aadb338d75c035ec597492aefd83dd82949cd7e4", + "rev": "f67a9ebc3bfdc44d596397fb381e392eee8e6e06", "type": "gitlab" }, "original": { diff --git a/hosts/hetzner-vm/modules/piped/frontend.nix b/hosts/hetzner-vm/modules/piped/frontend.nix index eab90a9..63b45d6 100644 --- a/hosts/hetzner-vm/modules/piped/frontend.nix +++ b/hosts/hetzner-vm/modules/piped/frontend.nix @@ -13,7 +13,10 @@ in { services.nginx.virtualHosts."${cfg.frontendDomain}" = { forceSSL = true; enableACME = true; - locations."/" = {root = "${frontend-package}/share/piped-frontend";}; + locations."/".root = "${frontend-package}/share/piped-frontend"; + extraConfig = '' + try_files $uri $uri/ /index.html; + ''; }; }; } diff --git a/hosts/tablet/tablet.nix b/hosts/tablet/tablet.nix index dd9187a..85be660 100644 --- a/hosts/tablet/tablet.nix +++ b/hosts/tablet/tablet.nix @@ -1,4 +1,4 @@ -{tree, ...}: { +{tree, pkgs, ...}: { imports = with tree; [ users.root users.chaos @@ -19,6 +19,9 @@ ./profiles/misskey-dev.nix ]; + services.teamviewer.enable = true; + environment.systemPackages = with pkgs; [ teamviewer ]; + home-manager.users.root = { imports = with tree; [home.base]; home.stateVersion = "22.05";