summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-06-03 10:30:38 -0400
committerAndrew Opalach <andrew@akon.city> 2025-06-03 10:30:38 -0400
commit68f39eb867c851acb651f79604aba119ecaa9527 (patch)
tree856a3de46de8196736a8fd4c59395d7192aa8353 /nix
parenta28487fe6fbac72c7b1a752acab42dcc6ab46476 (diff)
downloaddotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.gz
dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.bz2
dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.zip
Add some gentoo stuff and update cgit
Diffstat (limited to 'nix')
-rw-r--r--nix/gaming.nix4
-rw-r--r--nix/programs/sway.nix9
-rw-r--r--nix/user.nix1
3 files changed, 8 insertions, 6 deletions
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"])