event-sim/nixos/configs/flightgear.nix
fly 02e1fad297 Initial commit
Signed-off-by: fly <merspieler@alwaysdata.com>
2024-05-31 11:47:34 +00:00

17 lines
662 B
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs;
let atools = pkgs.libsForQt5.callPackage ../programs/atools/default.nix {};
in [
(pkgs.libsForQt5.callPackage ../programs/littlenavmap/default.nix {inherit atools;})
# (pkgs.libsForQt5.callPackage ../programs/littlefgconnect/default.nix {inherit atools;})
(pkgs.libsForQt5.callPackage ../programs/fgqcanvas/default.nix {})
mangohud
flightgear
];
services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="27dd", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="27dd", MODE="0666", TAG+="uaccess"
'';
}