From 80638712cf2882b2d3baa3f3d17ba5ff2e13a3c9 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 31 Dec 2025 01:17:49 -0500 Subject: doing some linting --- home/apps/alacritty.nix | 4 ++-- home/apps/default.nix | 2 +- home/browsers/default.nix | 2 +- home/browsers/firefox/default.nix | 4 ++-- home/desktops/hyprland/env.nix | 2 +- home/desktops/sway/config.nix | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'home') diff --git a/home/apps/alacritty.nix b/home/apps/alacritty.nix index 5c47f65..e90e7e6 100644 --- a/home/apps/alacritty.nix +++ b/home/apps/alacritty.nix @@ -48,7 +48,7 @@ in { # Colors colors = { - normal = lib.attrsets.mapAttrs (name: color: "${color}") { + normal = lib.attrsets.mapAttrs (_: color: "${color}") { inherit (config.theme.colors.normal) black @@ -62,7 +62,7 @@ in { ; }; - bright = lib.attrsets.mapAttrs (name: color: "${color}") { + bright = lib.attrsets.mapAttrs (_: color: "${color}") { inherit (config.theme.colors.bright) black diff --git a/home/apps/default.nix b/home/apps/default.nix index 074e588..58cd117 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -1,4 +1,4 @@ -{...}: { +_: { imports = [ ./waybar ./wofi diff --git a/home/browsers/default.nix b/home/browsers/default.nix index dc74460..e4a65e1 100644 --- a/home/browsers/default.nix +++ b/home/browsers/default.nix @@ -1,4 +1,4 @@ -{...}: { +_: { imports = [ ./firefox ./zen.nix diff --git a/home/browsers/firefox/default.nix b/home/browsers/firefox/default.nix index 2f7475e..c206092 100644 --- a/home/browsers/firefox/default.nix +++ b/home/browsers/firefox/default.nix @@ -7,7 +7,7 @@ extraPrefs = lib.fileContents ./mozilla.cfg; userChrome = lib.fileContents ./userChrome.css; my-firefox = pkgs.firefox.override { - extraPrefs = extraPrefs; + inherit extraPrefs; }; inherit (lib) mkIf; @@ -30,7 +30,7 @@ in { default = "ddg"; }; - userChrome = userChrome; + inherit userChrome; }; }; }; diff --git a/home/desktops/hyprland/env.nix b/home/desktops/hyprland/env.nix index 6773c55..8699587 100644 --- a/home/desktops/hyprland/env.nix +++ b/home/desktops/hyprland/env.nix @@ -1,4 +1,4 @@ -{...}: { +_: { wayland.windowManager.hyprland.settings = { env = [ "XDG_CURRENT_DESKTOP,Hyprland" diff --git a/home/desktops/sway/config.nix b/home/desktops/sway/config.nix index 11a12af..19077af 100644 --- a/home/desktops/sway/config.nix +++ b/home/desktops/sway/config.nix @@ -70,17 +70,17 @@ focused = { border = primary; background = base; - text = text; indicator = white; childBorder = primary; + inherit text; }; focusedInactive = { border = surface; background = base; - text = text; indicator = surface; childBorder = surface; + inherit text; }; unfocused = focusedInactive; @@ -88,9 +88,9 @@ urgent = { border = error; background = error; - text = text; indicator = error; childBorder = error; + inherit text; }; placeholder = unfocused; -- cgit v1.2.3-freya