Compare commits
2 commits
bee57a1e09
...
8157595747
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 8157595747 | ||
Antoine Martin | 901556f805 |
|
@ -114,6 +114,7 @@ in
|
|||
|
||||
navidrome = {
|
||||
enable = true;
|
||||
musicFolder = "${config.services.nextcloud.home}/data/alarsyo/files/Musique/Songs";
|
||||
};
|
||||
|
||||
nextcloud = {
|
||||
|
|
|
@ -8,6 +8,10 @@ let
|
|||
in {
|
||||
options.my.services.navidrome = {
|
||||
enable = mkEnableOption "Navidrome";
|
||||
musicFolder = mkOption {
|
||||
type = types.str;
|
||||
default = "./music";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
@ -17,6 +21,7 @@ in {
|
|||
Address = "127.0.0.1";
|
||||
Port = 4533;
|
||||
LastFM.Enabled = false;
|
||||
MusicFolder = cfg.musicFolder;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue