update
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.navidrome.enable = true;
|
||||
services.navidrome.settings = {
|
||||
MusicFolder = "/var/lib/media/music";
|
||||
};
|
||||
|
||||
services.caddy.enable = true;
|
||||
services.caddy.virtualHosts."music.grasswren.net".extraConfig = ''
|
||||
reverse_proxy localhost:4533
|
||||
'';
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 4533 ];
|
||||
}
|
||||
@@ -20,8 +20,15 @@ in
|
||||
port = 22;
|
||||
}];
|
||||
};
|
||||
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
config.network.nodes.laptop.ssh
|
||||
config.network.nodes.desktop.ssh
|
||||
];
|
||||
users.users.lilac = lib.mkIf (config.network.node != "vps") {
|
||||
openssh.authorizedKeys.keys = [
|
||||
config.network.nodes.laptop.ssh
|
||||
config.network.nodes.desktop.ssh
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user