feat: Added multiple services
This commit is contained in:
@@ -114,10 +114,7 @@
|
||||
services.openssh.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.allowedTCPPorts = [22 80 443];
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
||||
@@ -10,10 +10,24 @@
|
||||
MusicFolder = "/media/music";
|
||||
};
|
||||
};
|
||||
services.atuin = {
|
||||
enable = true;
|
||||
};
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud30;
|
||||
hostName = "cloud.darksailor.dev";
|
||||
};
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."navidrome.darksailor.dev".extraConfig = ''
|
||||
virtualHosts."music.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:4533
|
||||
'';
|
||||
virtualHosts."atuin.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:8888
|
||||
'';
|
||||
virtualHosts."cloud.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:8080
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user