From ebe8eaf9cf1d0e5648cce198bf4ad4c7898f0031 Mon Sep 17 00:00:00 2001 From: solidsnakedev Date: Thu, 23 Nov 2023 10:26:21 -0500 Subject: [PATCH] refactor: format --- home-manager/mac/home.nix | 2 +- home-manager/mac/local-modules/neovim.nix | 2 +- hosts/nixos/configuration.nix | 2 +- hosts/nixos/hardware-configuration.nix | 9 ++++++--- modules/bat.nix | 2 +- modules/direnv.nix | 2 +- modules/fish.nix | 2 +- 7 files changed, 12 insertions(+), 9 deletions(-) diff --git a/home-manager/mac/home.nix b/home-manager/mac/home.nix index 321ddbd..bbfc717 100644 --- a/home-manager/mac/home.nix +++ b/home-manager/mac/home.nix @@ -104,7 +104,7 @@ # # }; # }; - xdg.configFile.yabai = { + xdg.configFile.yabai = { source = ../../config/yabai; recursive = true; }; diff --git a/home-manager/mac/local-modules/neovim.nix b/home-manager/mac/local-modules/neovim.nix index 4e31f62..fc1a205 100644 --- a/home-manager/mac/local-modules/neovim.nix +++ b/home-manager/mac/local-modules/neovim.nix @@ -33,7 +33,7 @@ in "hover.floatConfig.border" = true; "hover.floatConfig.rounded" = true; "tsserver.useLocalTsdk" = true; - "tsserver.tsdk"= "$./node_modules/typescript/lib"; + "tsserver.tsdk" = "$./node_modules/typescript/lib"; languageserver = { haskell = { command = "haskell-language-server"; diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index 1fba55b..8a0b9c5 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -47,7 +47,7 @@ xkbVariant = ""; }; - services.xserver.videoDrivers = ["nvidia"]; + services.xserver.videoDrivers = [ "nvidia" ]; # Enable CUPS to print documents. services.printing.enable = true; diff --git a/hosts/nixos/hardware-configuration.nix b/hosts/nixos/hardware-configuration.nix index cbbc4fa..38cf664 100644 --- a/hosts/nixos/hardware-configuration.nix +++ b/hosts/nixos/hardware-configuration.nix @@ -5,7 +5,8 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "vmd" "usb_storage" "usbhid" "sd_mod" ]; @@ -14,12 +15,14 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/fd9b4977-105e-494f-94cc-492519322c6c"; + { + device = "/dev/disk/by-uuid/fd9b4977-105e-494f-94cc-492519322c6c"; fsType = "ext4"; }; fileSystems."/boot/efi" = - { device = "/dev/disk/by-uuid/65E4-772C"; + { + device = "/dev/disk/by-uuid/65E4-772C"; fsType = "vfat"; }; diff --git a/modules/bat.nix b/modules/bat.nix index 4efd6cf..f3343c2 100644 --- a/modules/bat.nix +++ b/modules/bat.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: +{ pkgs, ... }: { programs.bat = { enable = true; diff --git a/modules/direnv.nix b/modules/direnv.nix index e026ab0..f4b8ee5 100644 --- a/modules/direnv.nix +++ b/modules/direnv.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: +{ pkgs, ... }: { programs.direnv = { enable = true; diff --git a/modules/fish.nix b/modules/fish.nix index 80cb4cf..79195ba 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: +{ pkgs, ... }: { programs.fish = { enable = true;