diff options
Diffstat (limited to 'system/settings/hardware')
-rw-r--r-- | system/settings/hardware/adb.nix | 5 | ||||
-rw-r--r-- | system/settings/hardware/nvidia-gpu.nix | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/system/settings/hardware/adb.nix b/system/settings/hardware/adb.nix index 8b511f55..0c27b380 100644 --- a/system/settings/hardware/adb.nix +++ b/system/settings/hardware/adb.nix @@ -1,9 +1,10 @@ { config, pkgs, ... }: -{ programs.adb.enable = true; +{ + programs.adb.enable = true; users.groups.adbusers = {}; services.udev = { - packages = [ pkgs.android-udev-rules ]; + packages = [ pkgs.android-udev-rules ]; }; } diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix index 3c099e42..052cd678 100644 --- a/system/settings/hardware/nvidia-gpu.nix +++ b/system/settings/hardware/nvidia-gpu.nix @@ -2,7 +2,9 @@ let nvidia_x11 = config.boot.kernelPackages.nvidia_x11; -in { services.xserver.videoDrivers = [ "nvidia" ]; +in +{ + services.xserver.videoDrivers = [ "nvidia" ]; boot = { blacklistedKernelModules = [ "nouveau" ]; extraModulePackages = [ nvidia_x11 ]; |