add maccel

This commit is contained in:
2026-03-23 19:48:07 +00:00
parent c176a082c8
commit e4b4fbd13a
3 changed files with 32 additions and 0 deletions
+15
View File
@@ -17,6 +17,7 @@ in {
in {
imports = [
inputs.agenix.nixosModules.default
inputs.maccel.nixosModules.default
../../hardware-configuration.nix
];
@@ -94,6 +95,20 @@ in {
extraGroups = ["networkmanager" "wheel"];
};
users.groups.maccel.members = [flakeConfig.username];
hardware.maccel = {
enable = true;
enableCli = true;
parameters = {
mode = "linear";
sensMultiplier = 1.0;
acceleration = 0.3;
offset = 2.0;
outputCap = 2.0;
};
};
# Programs
# Allow unfree