Skip to content

Commit

Permalink
Merge pull request #227 from winterqt/surface-control
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored Mar 23, 2021
2 parents 6406b7a + 6075b4d commit 681ffa8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion microsoft/surface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions microsoft/surface/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
}

0 comments on commit 681ffa8

Please sign in to comment.