diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-01-07 07:04:33 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-01-07 07:04:33 -0500 |
commit | 0fc9407efd8036f5230d3ddc191930ada0aeb0e4 (patch) | |
tree | e70ec856e8c25683f4a648ec59e1e84db206d8a1 | |
parent | 60e787de86fa8bb66ef1358071cd080028b5f0ec (diff) |
udev rules
-rw-r--r-- | modules/desktop.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/desktop.nix b/modules/desktop.nix index 77d2169..dc270d1 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -112,6 +112,14 @@ in { console.packages = [ pkgs.terminus_font ]; services = { + udev.extraRules = '' + # Anne Pro 2 + SUBSYSTEM=="usb", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="8008", + MODE="0666", GROUP="plugdev" + KERNEL=="hidraw*", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="8008", + MODE="0666", GROUP="plugdev" + ''; + avahi.enable = true; xserver = { @@ -131,14 +139,6 @@ in { displayManager.lightdm.enable = true; }; - services.udev.extraRules = '' - # Anne Pro 2 - SUBSYSTEM=="usb", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="8008", - MODE="0666", GROUP="plugdev" - KERNEL=="hidraw*", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="8008", - MODE="0666", GROUP="plugdev" - ''; - # redshift = { # enable = true; # extraOptions = [ "-r" ]; |