ADD : navidrome service

FIX : add 4533 port to firewall
This commit is contained in:
Alexandre LUCAZEAU 2022-09-16 07:45:34 +00:00
parent 8f255bcea3
commit abaa51347a
2 changed files with 13 additions and 1 deletions

View File

@ -6,6 +6,7 @@
./databases.nix
../modules/users.nix
../modules/common.nix
../modules/navidrome.nix
../modules/prometheus-node.nix
./agenix.nix
# <agenix/modules/age.nix>
@ -20,7 +21,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com"
];
networking.firewall.allowedTCPPorts = [ 80 443 22 9002];
networking.firewall.allowedTCPPorts = [ 80 443 22 9002 4533];
services.qemuGuest.enable = true;
# environment.systemPackages = [ (pkgs.callPackage <agenix/pkgs/agenix.nix> {}) ];

11
modules/navidrome.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
services.navidrome = {
enable = true; # Enable Gitea
settings = {
MusicFolder = "/var/lib/nextcloud/data/alexandre/files/Musique/";
Address = "0.0.0.0";
};
};
}