fix: add nix-index persistence

This commit is contained in:
514fpv 2024-01-10 16:31:17 +08:00
parent f9ce5b75fb
commit 55b8b49c07
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"