home(util): add nix-index persistence

This commit is contained in:
514fpv 2024-01-10 16:31:17 +08:00
parent cda6073cc6
commit f5956fc512
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -4,7 +4,9 @@
, ... }: with lib; let
gui = with config.global.gui; ( enable && session );
in {
users.home.persist.directories = [ ] ++
users.home.persist.directories = [
".cache/nix-index"
] ++
optionals gui [
".local/share/Mission Planner"
".config/betaflight-configurator"