modules/xr: init
This commit is contained in:
parent
5844fc0b4e
commit
eed03c58cf
2 changed files with 14 additions and 0 deletions
|
@ -26,6 +26,7 @@ let
|
|||
./shell-config
|
||||
./sound
|
||||
./ssh
|
||||
./xr
|
||||
];
|
||||
mappedAspects = map (x: { name = baseNameOf x; value = import x; }) aspects;
|
||||
in rec {
|
||||
|
@ -50,6 +51,7 @@ in rec {
|
|||
nix-config
|
||||
shell-config
|
||||
sound
|
||||
xr
|
||||
] ++ base ++ client-networking;
|
||||
|
||||
laptop = desktop ++ [ laptop-config ];
|
||||
|
|
12
modules/xr/default.nix
Normal file
12
modules/xr/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
rules = pkgs.writeTextDir "etc/udev/rules.d/70-xr.rules" ''
|
||||
# Xreal Air 2 Pro
|
||||
ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0432", TAG+="uaccess"
|
||||
'';
|
||||
in
|
||||
|
||||
{
|
||||
services.udev.packages = [ rules ];
|
||||
}
|
Loading…
Reference in a new issue