mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
add work zabbix + vscode/kitty fonts upd
This commit is contained in:
parent
9c0c55ec5e
commit
5593f2de92
|
|
@ -35,6 +35,11 @@ let
|
||||||
hide_window_decorations yes
|
hide_window_decorations yes
|
||||||
remember_window_size yes
|
remember_window_size yes
|
||||||
remote_control_password kitty-notification-password-fish ls
|
remote_control_password kitty-notification-password-fish ls
|
||||||
|
|
||||||
|
font_family FiraCode Nerd Font
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -94,9 +99,15 @@ in {
|
||||||
ripgrep gh # for nvim
|
ripgrep gh # for nvim
|
||||||
lunarvim # text edit
|
lunarvim # text edit
|
||||||
lexend # font from google (non-mono)
|
lexend # font from google (non-mono)
|
||||||
|
#fira-code-nerdfont # mono font
|
||||||
|
iosevka-comfy.comfy
|
||||||
|
iosevka-comfy.comfy-duo
|
||||||
|
iosevka-comfy.comfy-wide
|
||||||
|
iosevka-comfy.comfy-wide-duo
|
||||||
jamesdsp easyeffects
|
jamesdsp easyeffects
|
||||||
nmap
|
nmap
|
||||||
wget
|
wget
|
||||||
|
doggo #dig for dns-over-*
|
||||||
]);
|
]);
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
|
|
|
||||||
|
|
@ -268,10 +268,11 @@ let
|
||||||
|
|
||||||
hostsNoRemote = pkgs.writeText "hosts_no_remote" ''
|
hostsNoRemote = pkgs.writeText "hosts_no_remote" ''
|
||||||
127.0.0.1 graf1.local graf2.local kibana.local
|
127.0.0.1 graf1.local graf2.local kibana.local
|
||||||
|
${inputs.secrets.work.zabbix} ${inputs.secrets.work.zabbix-url}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hostsRemote = pkgs.writeText "host_remote" ''
|
hostsRemote = pkgs.writeText "host_remote" ''
|
||||||
100.92.15.128 graf1.local graf2.local kibana.local
|
100.92.15.128 graf1.local graf2.local kibana.local zabbix.local ${inputs.secrets.work.zabbix-url}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
kittyWork = pkgs.writeScriptBin "kittywork" ''
|
kittyWork = pkgs.writeScriptBin "kittywork" ''
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,9 @@
|
||||||
"terminal.external.linuxExec" = "kitty";
|
"terminal.external.linuxExec" = "kitty";
|
||||||
"editor.guides.bracketPairs" = "active";
|
"editor.guides.bracketPairs" = "active";
|
||||||
"editor.bracketPairColorization.independentColorPoolPerBracketType" = true;
|
"editor.bracketPairColorization.independentColorPoolPerBracketType" = true;
|
||||||
|
"editor.fontFamily" = "'FiraCode Nerd Font'";
|
||||||
|
"editor.fontLigatures" = "'ss01', 'ss02', 'ss06', 'ss08', 'cv14', 'cv04' , 'tnum'";
|
||||||
|
"editor.fontWeight" = "450";
|
||||||
"nix.enableLanguageServer"= true;
|
"nix.enableLanguageServer"= true;
|
||||||
#"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
#"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||||
"nix.serverPath" = "${pkgs.nixd}/bin/nixd";
|
"nix.serverPath" = "${pkgs.nixd}/bin/nixd";
|
||||||
|
|
@ -119,6 +122,8 @@
|
||||||
hide_window_decorations = "yes";
|
hide_window_decorations = "yes";
|
||||||
remote_control_password = "kitty-notification-password-fish ls";
|
remote_control_password = "kitty-notification-password-fish ls";
|
||||||
allow_remote_control = "password";
|
allow_remote_control = "password";
|
||||||
|
font_family= "FiraCode Nerd Font"; #FiraCode Nerd Font Ret
|
||||||
|
font_features = "FiraCodeNF-Reg +ss01 +ss02 +ss06 +ss08 +cv14 +cv03 +tnum";
|
||||||
|
|
||||||
color0 = "#3F3F3F";
|
color0 = "#3F3F3F";
|
||||||
color1 = "#705050";
|
color1 = "#705050";
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ let
|
||||||
#"UbuntuMono"
|
#"UbuntuMono"
|
||||||
#"CascadiaCode"
|
#"CascadiaCode"
|
||||||
#"FantasqueSansMono"
|
#"FantasqueSansMono"
|
||||||
#"FiraCode"
|
"FiraCode"
|
||||||
#"Mononoki"
|
#"Mononoki"
|
||||||
"Iosevka"
|
"Iosevka"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,19 @@
|
||||||
options cfg80211 ieee80211_regdom="RU"
|
options cfg80211 ieee80211_regdom="RU"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
services.fstrim = {
|
||||||
|
enable = true;
|
||||||
|
interval = "weekly";
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
# randomizedDelaySec = "30m";
|
||||||
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,16 @@
|
||||||
proxy_pass ${inputs.secrets.work.kibana};
|
proxy_pass ${inputs.secrets.work.kibana};
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
services.nginx.virtualHosts."zabbix" = {
|
||||||
|
forceSSL = false;
|
||||||
|
listen = [{port = 80; addr="0.0.0.0"; ssl=false;}];
|
||||||
|
serverName = "zabbix.local";
|
||||||
|
locations."/".extraConfig = ''
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_pass ${inputs.secrets.work.zabbix};
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue