flake: Initialise new repository
This commit is contained in:
commit
1eb25ada72
41 changed files with 1657 additions and 0 deletions
31
modules/nixos/navidrome.nix
Normal file
31
modules/nixos/navidrome.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
containers.music = {
|
||||
autoStart = true;
|
||||
bindMounts = {
|
||||
"/Music" = {
|
||||
hostPath = "/mnt/sdb1/media/Music";
|
||||
isReadOnly = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
services = {
|
||||
navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
MusicFolder = "/Music";
|
||||
port = 4533;
|
||||
};
|
||||
};
|
||||
|
||||
tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "server";
|
||||
interfaceName = "userspace-networking";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue