Extract "surface-control" management into new option-enabled module

This commit is contained in:
mexisme
2023-01-10 16:04:46 +13:00
parent b8f4e97171
commit 5b27563b02
3 changed files with 27 additions and 8 deletions

View File

@@ -17,13 +17,6 @@ in {
options iwldvm force_cam=N
'';
environment.systemPackages = [
pkgs.surface-control
];
users.groups.surface-control = { };
services.udev.packages = [
pkgs.surface-control
];
microsoft-surface.surface-control.enable = true;
microsoft-surface.ipts.enable = true;
}