diff --git a/flake.nix b/flake.nix index 573cdeb..ae2c97b 100644 --- a/flake.nix +++ b/flake.nix @@ -77,8 +77,11 @@ }; monolith = lib.nixosSystem { inherit system specialArgs; - modules = [ ./hosts/monolith.nix ./system/gitlab-runner.nix ./system/btusb-kernel-patches.nix ] - ++ common_modules; + modules = [ + ./hosts/monolith.nix + ./system/gitlab-runner.nix + ./system/btusb-kernel-patches.nix + ] ++ common_modules; }; rainbow = lib.nixosSystem { inherit system specialArgs; diff --git a/overlays/default.nix b/overlays/default.nix index 975a605..8489234 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -11,7 +11,8 @@ uservars = import ../user/variables.nix; dhist = inputs.dhist.packages.${system}.dhist; mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper; - sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli; + sea-orm-cli = + inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli; nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil; alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec { src = inputs.alacritty-sixel; diff --git a/scripts/default.nix b/scripts/default.nix index 922ec83..d4bdc58 100644 --- a/scripts/default.nix +++ b/scripts/default.nix @@ -24,7 +24,8 @@ _diffr = [ diffr ]; kak-pager = [ fish final._diffr ]; kak-man-pager = [ final.kak-pager ]; - showkeys = [ ]; # This will not work unless programs.wshowkeys is enabled systemwide + showkeys = + [ ]; # This will not work unless programs.wshowkeys is enabled systemwide terminal = [ alacritty ]; wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ]; screenshotsh = diff --git a/system/btusb-kernel-patches.nix b/system/btusb-kernel-patches.nix index 871b1ff..bccdb62 100644 --- a/system/btusb-kernel-patches.nix +++ b/system/btusb-kernel-patches.nix @@ -3,15 +3,18 @@ boot.kernelPatches = [ { name = "bt-usb-fixes-1"; - patch = ./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff; + patch = + ./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff; } { name = "bt-usb-fixes-2"; - patch = ./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff; + patch = + ./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff; } { name = "bt-usb-fixes-3"; - patch = ./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff; + patch = + ./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff; } { name = "bt-usb-fixes-4"; diff --git a/system/configuration.nix b/system/configuration.nix index 4e45bae..678891a 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -2,11 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, inputs, ... }: { - imports = [ - ./gamemode.nix - ./cachix.nix - ./media-packages.nix - ]; + imports = [ ./gamemode.nix ./cachix.nix ./media-packages.nix ]; packages.media-packages.enable = true; # Bootloader. @@ -81,9 +77,7 @@ # Discoverable = true; AlwaysPairable = true; }; - Policy = { - AutoEnable = true; - }; + Policy = { AutoEnable = true; }; }; }; diff --git a/system/gamemode.nix b/system/gamemode.nix index 52e8774..d9445ea 100644 --- a/system/gamemode.nix +++ b/system/gamemode.nix @@ -2,9 +2,7 @@ programs.gamemode.enable = true; programs.gamemode.enableRenice = true; programs.gamemode.settings = { - general = { - renice = 10; - }; + general = { renice = 10; }; # Warning: GPU optimisations have the potential to damage hardware gpu = { diff --git a/user/home.nix b/user/home.nix index 7d7e34a..ac4ba70 100644 --- a/user/home.nix +++ b/user/home.nix @@ -1,6 +1,5 @@ { config, pkgs, lib, inputs, ... }: -let inherit (import ./variables.nix) key theme color accent font desktop; - +let inherit (import ./variables.nix) desktop; in { imports = [ ./controller.nix diff --git a/user/mangohud.nix b/user/mangohud.nix index c20bf67..50aa2f2 100644 --- a/user/mangohud.nix +++ b/user/mangohud.nix @@ -60,8 +60,6 @@ in { # output_folder = "/home/lelgenio"; }; }; - home.sessionVariables = { - MANGOHUD_DLSYM = 1; - }; + home.sessionVariables = { MANGOHUD_DLSYM = 1; }; }; } diff --git a/user/pass.nix b/user/pass.nix index 88d9709..5ad39ec 100644 --- a/user/pass.nix +++ b/user/pass.nix @@ -5,10 +5,6 @@ pass-secret-service.enable = true; password-store-sync.enable = true; }; - home.packages = with pkgs; [ - pass - wpass - _gpg-unlock - ]; + home.packages = with pkgs; [ pass wpass _gpg-unlock ]; }; }