piped frontend fix & musicutil update

This commit is contained in:
Chaos 2023-01-18 10:55:08 +00:00
parent 59ac372f7e
commit 788880739c
No known key found for this signature in database
3 changed files with 11 additions and 5 deletions

View file

@ -160,11 +160,11 @@
"utils": "utils_5" "utils": "utils_5"
}, },
"locked": { "locked": {
"lastModified": 1673715233, "lastModified": 1674038300,
"narHash": "sha256-Gnv8F1zdEjbwwUF1erOQE2d1DN8iS13quQsrVk0hoDA=", "narHash": "sha256-nvnvjugb+wMEcCkw5WGtyHEjth9mPJLhuXYmIxxR8f0=",
"owner": "ChaotiCryptidz", "owner": "ChaotiCryptidz",
"repo": "musicutil", "repo": "musicutil",
"rev": "aadb338d75c035ec597492aefd83dd82949cd7e4", "rev": "f67a9ebc3bfdc44d596397fb381e392eee8e6e06",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {

View file

@ -13,7 +13,10 @@ in {
services.nginx.virtualHosts."${cfg.frontendDomain}" = { services.nginx.virtualHosts."${cfg.frontendDomain}" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = {root = "${frontend-package}/share/piped-frontend";}; locations."/".root = "${frontend-package}/share/piped-frontend";
extraConfig = ''
try_files $uri $uri/ /index.html;
'';
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{tree, ...}: { {tree, pkgs, ...}: {
imports = with tree; [ imports = with tree; [
users.root users.root
users.chaos users.chaos
@ -19,6 +19,9 @@
./profiles/misskey-dev.nix ./profiles/misskey-dev.nix
]; ];
services.teamviewer.enable = true;
environment.systemPackages = with pkgs; [ teamviewer ];
home-manager.users.root = { home-manager.users.root = {
imports = with tree; [home.base]; imports = with tree; [home.base];
home.stateVersion = "22.05"; home.stateVersion = "22.05";