From b7dca115ae51bd7b8d6ce3bacfcdad10f8f77dac Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 11 Aug 2023 00:28:17 +0100 Subject: [PATCH] feat(nixos): add via and vial for keyboard ...configuration --- system/nixos/configuration.nix | 4 ++++ system/nixos/home-manager.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/system/nixos/configuration.nix b/system/nixos/configuration.nix index de0de0b..2d9ceea 100644 --- a/system/nixos/configuration.nix +++ b/system/nixos/configuration.nix @@ -238,5 +238,9 @@ in enableSSHSupport = true; pinentryFlavor = "qt"; }; + + services.udev.extraRules = '' + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", TAG+="uaccess", TAG+="udev-acl", GROUP="realet" + ''; } diff --git a/system/nixos/home-manager.nix b/system/nixos/home-manager.nix index 76a1678..f5d5ed7 100644 --- a/system/nixos/home-manager.nix +++ b/system/nixos/home-manager.nix @@ -16,6 +16,8 @@ in pkgs.postman pkgs.slack pkgs.teams + pkgs.via + pkgs.vial pkgs.vlc pkgs.wofi pkgs.xcape