feat: massive refactoring...

This commit is contained in:
Xavier Morel
2025-11-09 00:45:00 +01:00
parent f9446df46d
commit 3245b6b89f
77 changed files with 3233 additions and 582 deletions

46
containers/music.nix Normal file
View File

@@ -0,0 +1,46 @@
{ nixpkgs, system, ... }:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
my-lxc.music = {
container = {
cores = 2;
memory = 2048;
disk = "6G";
swap = 512;
};
system = {
port = 8095;
additionalPorts = [
8097
];
services.music-assistant = {
enable = true;
providers = [
"builtin"
"builtin_player"
"chromecast"
"deezer"
"dlna"
"filesystem_local"
"filesystem_smb"
"hass_players"
"jellyfin"
"player_group"
"ytmusic"
];
};
packages = with pkgs; [
cifs-utils
util-linux
];
};
logging = {
enable = true;
metricsEnable = true;
};
private = true;
auth = false;
};
}