From 992c6d3c40638989d8574c67eaa6d394bf3bfd0e Mon Sep 17 00:00:00 2001 From: Zeph Levy <171337931+ZephLevy@users.noreply.github.com> Date: Wed, 13 May 2026 10:19:53 +0200 Subject: [PATCH] Format nix files --- home-manager/modules/bash.nix | 2 +- home-manager/modules/hypr/theming.nix | 14 ++++++++------ home-manager/modules/hypr/waybar.nix | 10 +++++----- nixos/configuration.nix | 3 +-- nixos/modules/gpu.nix | 3 ++- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/home-manager/modules/bash.nix b/home-manager/modules/bash.nix index 82f60ba..5e55c20 100644 --- a/home-manager/modules/bash.nix +++ b/home-manager/modules/bash.nix @@ -9,7 +9,7 @@ then shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" LD_LIBRARY_PATH="''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${ - with pkgs; + with pkgs; lib.makeLibraryPath [ vulkan-loader ] diff --git a/home-manager/modules/hypr/theming.nix b/home-manager/modules/hypr/theming.nix index 639ea37..348c0a4 100644 --- a/home-manager/modules/hypr/theming.nix +++ b/home-manager/modules/hypr/theming.nix @@ -1,9 +1,9 @@ { config, pkgs, ... }: -let theme = -{ - package = pkgs.gruvbox-gtk-theme; - name = "Gruvbox-Dark"; -}; +let + theme = { + package = pkgs.gruvbox-gtk-theme; + name = "Gruvbox-Dark"; + }; in { gtk = { @@ -24,7 +24,9 @@ in }; # Home manager wants this? # TODO can I set a theme? - gtk4 = { theme = theme; }; + gtk4 = { + theme = theme; + }; }; qt = { diff --git a/home-manager/modules/hypr/waybar.nix b/home-manager/modules/hypr/waybar.nix index fa33d10..7cf2c1d 100644 --- a/home-manager/modules/hypr/waybar.nix +++ b/home-manager/modules/hypr/waybar.nix @@ -37,11 +37,11 @@ }; "niri/workspaces" = { - format = "{icon}"; - format-icons = { - active = ""; - default = ""; - }; + format = "{icon}"; + format-icons = { + active = ""; + default = ""; + }; }; "clock" = { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index f18be7a..5b09698 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -58,7 +58,7 @@ }; }; - # Note to self: You need this for flutter! + # Note to self: You need this for flutter! programs.nix-ld.enable = true; nix.settings.experimental-features = [ @@ -77,7 +77,6 @@ }; services.blueman.enable = true; - services.mullvad-vpn = { enable = true; package = pkgs.mullvad-vpn; diff --git a/nixos/modules/gpu.nix b/nixos/modules/gpu.nix index ab67ab9..9e752aa 100644 --- a/nixos/modules/gpu.nix +++ b/nixos/modules/gpu.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ hardware.graphics = { enable = true; enable32Bit = true;