event-sim/nixos/configs/flightgear.nix

18 lines
662 B
Nix
Raw Permalink Normal View History

{ 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"
'';
}