refactor: persist

This commit is contained in:
2025-06-29 15:13:29 +08:00
parent be5fd3b9ff
commit 13b69ccc95
11 changed files with 39 additions and 26 deletions

View File

@@ -23,6 +23,13 @@ lib.my.makeSwitch {
};
cli.media.mpd.enable = true;
persist.homeDirs = [
".config/go-musicfox/db"
];
persist.homeFiles = [
".config/go-musicfox/cookie"
];
};
};
}

View File

@@ -21,5 +21,8 @@ lib.my.makeSwitch {
services.mpris-proxy.enable = true;
xdg.configFile."mpd/mpd.conf".source = ./mpd.conf;
};
my.persist.homeFiles = [
".config/mpd/mpd.db"
];
};
}