From 68f39eb867c851acb651f79604aba119ecaa9527 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 3 Jun 2025 10:30:38 -0400 Subject: Add some gentoo stuff and update cgit --- nix/gaming.nix | 4 ++-- nix/programs/sway.nix | 9 +++++---- nix/user.nix | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'nix') diff --git a/nix/gaming.nix b/nix/gaming.nix index 4a7d25a..7aab7d8 100644 --- a/nix/gaming.nix +++ b/nix/gaming.nix @@ -41,15 +41,15 @@ in { #}; }; }; +# chaotic.mesa-git.enable = true; programs.gamescope = { enable = true; package = pkgs.gamescope; capSysNice = true; }; -# chaotic.mesa-git.enable = true; # services.ananicy = { # enable = true; -# # package = pkgs.ananicy-cpp; +# #package = pkgs.ananicy-cpp; # settings = { # apply_nice = true; # }; diff --git a/nix/programs/sway.nix b/nix/programs/sway.nix index 5e9cb08..84fa903 100644 --- a/nix/programs/sway.nix +++ b/nix/programs/sway.nix @@ -58,6 +58,7 @@ in { }; home-manager.users.andrew = { home.sessionVariables = { + MAIN_MONITOR="${loc.monitors.monitor1}"; XDG_CURRENT_DESKTOP = "sway"; MOZ_ENABLE_WAYLAND = "1"; SDL_VIDEODRIVER = "wayland"; @@ -339,11 +340,11 @@ in { services.mako = { enable = true; settings = { - defaultTimeout = 14000; + default-timeout = 14000; font = "${loc.font.name} ${toString loc.ui-font.size}"; - backgroundColor = "#${colo.background}"; - textColor = "#${colo.foreground}"; - borderColor = "#${colo.color6}"; + background-color = "#${colo.background}"; + text-color = "#${colo.foreground}"; + border-color = "#${colo.color6}"; }; }; }; diff --git a/nix/user.nix b/nix/user.nix index 01d6e84..076bad3 100644 --- a/nix/user.nix +++ b/nix/user.nix @@ -72,6 +72,7 @@ in { cryptsetup (asNeeded "nix-index" ["nix-channel-index" "nix-index" "nix-locate"]) imagemagick + pngcheck (asNeeded "optipng" ["optipng"]) (asNeeded "dmtx-utils" ["dmtxquery" "dmtxread" "dmtxwrite"]) (asNeeded "zbar" ["zbarcam" "zbarcam-gtk" "zbarcam-qt" "zbarimg"]) -- cgit v1.2.3-101-g0448