1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Merge pull request #227 from winterqt/surface-control

This commit is contained in:
Jörg Thalheim 2021-03-23 08:05:13 +00:00 committed by GitHub
commit 681ffa8a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

View file

@ -42,7 +42,11 @@ kernel-space driver into events for the HID / input sub-system.
### 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

View file

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
{
imports = [
./kernel
./hardware_configuration.nix
./firmware/surface-go/ath10k
];
{ config, lib, pkgs, ... }: {
imports =
[ ./kernel ./hardware_configuration.nix ./firmware/surface-go/ath10k ];
environment.systemPackages = with pkgs; [ surface-control ];
users.groups.surface-control = { };
services.udev.packages = [ pkgs.surface-control ];
}