add maccel
This commit is contained in:
Generated
+16
@@ -99,6 +99,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"maccel": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771614512,
|
||||||
|
"narHash": "sha256-KzvNWDGVpoNcR9wcIOlwxr6Nwtgt9Hicck/0fswhi7U=",
|
||||||
|
"owner": "Gnarus-G",
|
||||||
|
"repo": "maccel",
|
||||||
|
"rev": "c7c1369d4bd4f240b38365cd43bd696d06635e4d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Gnarus-G",
|
||||||
|
"repo": "maccel",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754028485,
|
"lastModified": 1754028485,
|
||||||
@@ -136,6 +151,7 @@
|
|||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"import-tree": "import-tree",
|
"import-tree": "import-tree",
|
||||||
|
"maccel": "maccel",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
import-tree.url = "github:vic/import-tree";
|
import-tree.url = "github:vic/import-tree";
|
||||||
agenix.url = "github:ryantm/agenix";
|
agenix.url = "github:ryantm/agenix";
|
||||||
|
maccel.url = "github:Gnarus-G/maccel";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ in {
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.agenix.nixosModules.default
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.maccel.nixosModules.default
|
||||||
../../hardware-configuration.nix
|
../../hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -94,6 +95,20 @@ in {
|
|||||||
extraGroups = ["networkmanager" "wheel"];
|
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
|
# Programs
|
||||||
|
|
||||||
# Allow unfree
|
# Allow unfree
|
||||||
|
|||||||
Reference in New Issue
Block a user