From ff8b5f40619f53ef66ebe0f8fe68278d0ff2ac20 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 13 May 2024 11:58:36 -0300 Subject: [PATCH] nixos: add qmk/via support nixos: via udev --- nixos.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/nixos.nix b/nixos.nix index 13e81a5..fb1d343 100644 --- a/nixos.nix +++ b/nixos.nix @@ -185,6 +185,9 @@ users = [ "wizardlink" ]; }; + # Enable QMK support. + hardware.keyboard.qmk.enable = true; + # Enable xpadneo support. hardware.xpadneo.enable = true; @@ -199,6 +202,7 @@ services.displayManager.sddm = { enable = true; wayland.enable = true; + theme = "${import ./theming/sddm.nix { inherit pkgs; }}"; }; @@ -315,6 +319,7 @@ ## Hardware specific openrazer-daemon # Razor products back-end polychromatic # and it's front-end + via ]; # Some programs need SUID wrappers, can be configured further or are @@ -329,14 +334,12 @@ ## SERVICES # ## - services.udev.extraRules = '' - # Monsgeek M1 - KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="fffe", ATTRS{idProduct}=="0005", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" - ''; - # Enable flatpak services.flatpak.enable = true; + # Enables VIA + services.udev.packages = [ pkgs.via ]; + # Enable and configure PostgreSQL. services.postgresql = { enable = true;