move music to Freon

This commit is contained in:
Peder Bergebakken Sundt 2025-01-04 19:57:33 +01:00
parent 3b81478320
commit a249babe17
5 changed files with 23 additions and 34 deletions

View File

@ -46,7 +46,7 @@
#../../../profiles/http/services/microbin.nix # TODO: move out of home net #../../../profiles/http/services/microbin.nix # TODO: move out of home net
#../../../profiles/http/services/owncast.nix #../../../profiles/http/services/owncast.nix
#../../../profiles/http/services/paperless.nix #../../../profiles/http/services/paperless.nix
../../../profiles/http/services/polaris.nix /* ../../../profiles/http/services/polaris.nix */
#../../../profiles/http/services/resilio.nix #../../../profiles/http/services/resilio.nix
../../../profiles/http/services/roundcube.nix ../../../profiles/http/services/roundcube.nix
#../../../profiles/http/services/snappymail.nix # WIP #../../../profiles/http/services/snappymail.nix # WIP

View File

@ -11,14 +11,14 @@ lib.mkIf (!config.virtualisation.isVmVariant)
enable = true; enable = true;
settings = { settings = {
# default hostname:port = "127.0.0.1:4533" # default hostname:port = "127.0.0.1:4533"
MusicFolder = "/mnt/reidun/Music/Albums"; MusicFolder = "/mnt/freon/Music/Albums";
#MusicFolder = pkgs.linkFarm "navidrome-music-library" [ #MusicFolder = pkgs.linkFarm "navidrome-music-library" [
# { name = "Albums"; path = "/mnt/reidun/Music/Albums"; } # { name = "Albums"; path = "/mnt/freon/Music/Albums"; }
# { name = "OST"; path = "/mnt/reidun/Music/OST"; } # { name = "OST"; path = "/mnt/freon/Music/OST"; }
# { name = "dojin.co"; path = "/mnt/reidun/Music/dojin.co"; } # { name = "dojin.co"; path = "/mnt/freon/Music/dojin.co"; }
# { name = "Touhou"; path = "/mnt/reidun/Music/Touhou"; } # { name = "Touhou"; path = "/mnt/freon/Music/Touhou"; }
# { name = "Kancolle"; path = "/mnt/reidun/Music/Kancolle"; } # { name = "Kancolle"; path = "/mnt/freon/Music/Kancolle"; }
# { name = "Vocaloid"; path = "/mnt/reidun/Music/Vocaloid"; } # { name = "Vocaloid"; path = "/mnt/freon/Music/Vocaloid"; }
#]; #];
UIWelcomeMessage = "Spis meg"; UIWelcomeMessage = "Spis meg";

View File

@ -18,13 +18,13 @@
"([Cc]over|COVER|[Ff]older|FOLDER|[Ff]ront|FRONT)\.(jpeg|JPEG|jpg|JPG|png|PNG|bmp|BMP|gif|GIF)"; "([Cc]over|COVER|[Ff]older|FOLDER|[Ff]ront|FRONT)\.(jpeg|JPEG|jpg|JPG|png|PNG|bmp|BMP|gif|GIF)";
#"(?i)(cover|folder|front)\.(jpeg|jpg|png|bmp|gif)"; #"(?i)(cover|folder|front)\.(jpeg|jpg|png|bmp|gif)";
mount_dirs = lib.mkIf (!config.virtualisation.isVmVariant) [ mount_dirs = lib.mkIf (!config.virtualisation.isVmVariant) [
{ name = "Albums"; source = "/mnt/reidun/Music/Albums"; } { name = "Albums"; source = "/mnt/freon/Music/Albums"; }
{ name = "dojin.co"; source = "/mnt/reidun/Music/dojin.co"; } { name = "dojin.co"; source = "/mnt/freon/Music/dojin.co"; }
{ name = "Vocaloid"; source = "/mnt/reidun/Music/Vocaloid"; } { name = "Vocaloid"; source = "/mnt/freon/Music/Vocaloid"; }
{ name = "Touhou"; source = "/mnt/reidun/Music/Touhou"; } { name = "Touhou"; source = "/mnt/freon/Music/Touhou"; }
{ name = "OST"; source = "/mnt/reidun/Music/OST"; } { name = "OST"; source = "/mnt/freon/Music/OST"; }
{ name = "Kancolle"; source = "/mnt/reidun/Music/Kancolle"; } { name = "Kancolle"; source = "/mnt/freon/Music/Kancolle"; }
{ name = "Downloads"; source = "/mnt/reidun/Downloads/music"; } { name = "Downloads"; source = "/mnt/freon/Downloads/music"; }
]; ];
}; };
}; };

View File

@ -26,6 +26,14 @@ lib.mkIf (!config.virtualisation.isVmVariant)
"/ISO" "/ISO"
"/Games" "/Games"
"/Images" "/Images"
"/Music"
"/Music/Albums"
"/Music/Kancolle"
"/Music/OST"
"/Music/Old"
"/Music/Touhou"
"/Music/Vocaloid"
"/Music/dojin.co"
]); ]);
} }

View File

@ -22,27 +22,8 @@ lib.mkIf (!config.virtualisation.isVmVariant)
# TODO: space in dirname is not supported # TODO: space in dirname is not supported
in joinSets (map (mkMount "/mnt/reidun" "192.168.1.3:/Reidun/shared") [ in joinSets (map (mkMount "/mnt/reidun" "192.168.1.3:/Reidun/shared") [
"" ""
#"/Backups"
#"/Comics" #"/Comics"
"/Downloads" "/Downloads"
#"/Games"
#"/Games/Installable"
#"/Games/Portable"
#"/Games/ROMs"
#"/ISO"
#"/Images"
#"/Images/Collections"
#"/Images/Memes"
#"/Images/Pictures"
#"/Images/Wallpapers"
"/Music"
"/Music/Albums"
"/Music/Kancolle"
"/Music/OST"
"/Music/Old"
"/Music/Touhou"
"/Music/Vocaloid"
"/Music/dojin.co"
"/Various" "/Various"
"/Various/Zotero" "/Various/Zotero"
"/Various/resilio" "/Various/resilio"