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"
];
};
}

View File

@@ -54,5 +54,8 @@ lib.my.makeHomeProgramConfig {
];
};
};
my.persist.homeDirs = [
".local/share/nvim"
];
};
}

View File

@@ -23,5 +23,8 @@ lib.my.makeSwitch {
".minecraft"
".local/share/hmcl"
];
my.persist.homeFiles = [
".hmcl.json"
];
};
}

View File

@@ -20,5 +20,8 @@ lib.my.makeSwitch {
gamescope
];
};
my.persist.homeDirs = [
".local/share/Steam"
];
};
}

View File

@@ -13,4 +13,9 @@ lib.my.makeHomePackageConfig {
"media"
"spotube"
];
extraConfig = {
my.persist.homeDirs = [
".local/share/oss.krtirtho.spotube"
];
};
}

View File

@@ -21,5 +21,8 @@ lib.my.makeSwitch {
];
})
];
my.persist.homeDirs = [
".config/obs-studio"
];
};
}

View File

@@ -32,6 +32,11 @@ in
"virt"
"moonlight"
];
extraConfig = {
my.persist.homeDirs = [
".config/Moonlight Game Streaming Project"
];
};
})
];