feat: add helpful packages and persistence
This commit is contained in:
parent
5a82027157
commit
f94101045c
13
home/util/home.nix
Normal file
13
home/util/home.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, config
|
||||||
|
, ... }: with lib; {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pciutils usbutils lsscsi
|
||||||
|
] ++ optionals config.passthrough.gui [
|
||||||
|
mission-planner
|
||||||
|
betaflight-configurator
|
||||||
|
inav-configurator
|
||||||
|
inav-blackbox-tools
|
||||||
|
];
|
||||||
|
}
|
13
home/util/nixos.nix
Normal file
13
home/util/nixos.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ 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"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue