Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
3348bd0b39
remove kitty from aerc 2024-12-03 22:50:26 -05:00
Noah Masur
780ff152c8
fix: promscrape maxscrapesize no longer valid 2024-12-03 22:50:01 -05:00
2 changed files with 4 additions and 4 deletions

View File

@ -192,7 +192,7 @@
xdg.desktopEntries.aerc = lib.mkIf pkgs.stdenv.isLinux {
name = "aerc";
exec = "kitty aerc %u";
exec = "${config.home-manager.users.${config.user}.programs.rofi.terminal} aerc %u";
};
xsession.windowManager.i3.config.keybindings = lib.mkIf pkgs.stdenv.isLinux {
"${
@ -203,7 +203,9 @@
pkgs.writeShellScript "focus-mail.sh" ''
count=$(ps aux | grep -c aerc)
if [ "$count" -eq 1 ]; then
i3-msg "exec --no-startup-id kitty --class aerc aerc"
i3-msg "exec --no-startup-id ${
config.home-manager.users.${config.user}.programs.rofi.terminal
} --class aerc aerc"
sleep 0.25
fi
i3-msg "[class=aerc] focus"

View File

@ -91,8 +91,6 @@ in
services.vmagent = {
package = pkgs-stable.vmagent;
prometheusConfig = prometheusConfig;
# https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5567
extraArgs = [ "-promscrape.maxScrapeSize 450000000" ];
remoteWrite = {
url = "https://${config.hostnames.prometheus}/api/v1/write";
basicAuthUsername = username;