mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 06:52:24 +00:00
Compare commits
2 Commits
d61ac18707
...
3348bd0b39
Author | SHA1 | Date | |
---|---|---|---|
|
3348bd0b39 | ||
|
780ff152c8 |
@ -192,7 +192,7 @@
|
|||||||
|
|
||||||
xdg.desktopEntries.aerc = lib.mkIf pkgs.stdenv.isLinux {
|
xdg.desktopEntries.aerc = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
name = "aerc";
|
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 {
|
xsession.windowManager.i3.config.keybindings = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
"${
|
"${
|
||||||
@ -203,7 +203,9 @@
|
|||||||
pkgs.writeShellScript "focus-mail.sh" ''
|
pkgs.writeShellScript "focus-mail.sh" ''
|
||||||
count=$(ps aux | grep -c aerc)
|
count=$(ps aux | grep -c aerc)
|
||||||
if [ "$count" -eq 1 ]; then
|
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
|
sleep 0.25
|
||||||
fi
|
fi
|
||||||
i3-msg "[class=aerc] focus"
|
i3-msg "[class=aerc] focus"
|
||||||
|
@ -91,8 +91,6 @@ in
|
|||||||
services.vmagent = {
|
services.vmagent = {
|
||||||
package = pkgs-stable.vmagent;
|
package = pkgs-stable.vmagent;
|
||||||
prometheusConfig = prometheusConfig;
|
prometheusConfig = prometheusConfig;
|
||||||
# https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5567
|
|
||||||
extraArgs = [ "-promscrape.maxScrapeSize 450000000" ];
|
|
||||||
remoteWrite = {
|
remoteWrite = {
|
||||||
url = "https://${config.hostnames.prometheus}/api/v1/write";
|
url = "https://${config.hostnames.prometheus}/api/v1/write";
|
||||||
basicAuthUsername = username;
|
basicAuthUsername = username;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user