add maccel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user