microsoft-surface: add surface-control
This commit is contained in:
parent
d6a1231181
commit
d3cd9a2229
|
@ -42,7 +42,11 @@ kernel-space driver into events for the HID / input sub-system.
|
||||||
|
|
||||||
### DTX, `surface-control`
|
### DTX, `surface-control`
|
||||||
|
|
||||||
*TODO*
|
#### surface-control
|
||||||
|
|
||||||
|
For controlling the performance modes and other aspects of the device, the [`surface-control`](https://github.com/linux-surface/surface-control) tool is included.
|
||||||
|
|
||||||
|
To be able to control the performance mode without using `sudo`, add your user to the `surface-control` group.
|
||||||
|
|
||||||
# ToDo's Not Done
|
# ToDo's Not Done
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }: {
|
||||||
{
|
imports = [ ./kernel ./firmware ./hardware_configuration.nix ];
|
||||||
imports = [
|
|
||||||
./kernel
|
environment.systemPackages = with pkgs; [ surface-control ];
|
||||||
./firmware
|
users.groups.surface-control = {};
|
||||||
./hardware_configuration.nix
|
services.udev.packages = [ pkgs.surface-control ];
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue