nixos/home/util/nixos.nix

14 lines
277 B
Nix

{ pkgs
, lib
, config
, ... }: with lib; let
gui = with config.faucet.gui; ( enable && session );
in {
users.home.persist.directories = [ ] ++
optionals gui [
".local/share/Mission Planner"
".config/betaflight-configurator"
".config/inav-configurator"
];
}