diff options
author | Alan Pearce | 2022-10-14 18:01:11 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-14 18:01:18 +0200 |
commit | 6e34ca8bda9cddcce1ea73f73b883a3ec8358678 (patch) | |
tree | 8c244fa50f03640b663b07dbe5ef74bc67d80833 /system/settings/hardware | |
parent | bf435de812836511a9ba580a66acf3cd235cd15c (diff) | |
download | nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.lz nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.zst nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.zip |
Reformat nix files
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 ]; |