From 6e34ca8bda9cddcce1ea73f73b883a3ec8358678 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 14 Oct 2022 18:01:11 +0200 Subject: Reformat nix files --- system/settings/hardware/adb.nix | 5 +++-- system/settings/hardware/nvidia-gpu.nix | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'system/settings/hardware') 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 ]; -- cgit 1.4.1