feat: hs610 tablet support (FUCKING GOD I'M EXAUSTED)

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-05 17:45:40 -03:00
parent d9108b0903
commit 6e4d154067
2 changed files with 13 additions and 1 deletions

View File

@@ -17,6 +17,13 @@
profiles.locale.enable = true;
hardware.opentabletdriver.enable = true;
# services.xserver.digimend.enable = true;
services.libinput.enable = true;
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
'';
programs.hyprland.enable = true;
# TEMPFIX: 2024-05-04 https://github.com/NixOS/nixpkgs/issues/308287#issuecomment-2093091892
# After the flake update in 2024-05-04, the screen blacked out after switch
@@ -73,7 +80,7 @@
hashedPasswordFile = builtins.toString config.sops.secrets."guz/password".path;
home = import ./home.nix;
isNormalUser = true;
extraGroups = ["wheel" "networkmanager"];
extraGroups = ["wheel" "networkmanager" "plugdev"];
};
environment.sessionVariables = {
@@ -82,6 +89,7 @@
environment.systemPackages = with pkgs; [
git
libinput
];
hardware.bluetooth.enable = true;

View File

@@ -63,6 +63,10 @@ in {
"x-scheme-handler/unknown"
];
};
"pureref" = {
name = "Pureref";
exec = "${pkgs.pureref}/bin/pureref";
};
};
programs.hyprland.enable = true;