feat: work qol

This commit is contained in:
Leon Schwarzäugl 2025-02-25 14:02:57 +01:00
parent a9eadbe2ed
commit c8e4493b8a
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 58 additions and 10 deletions

View file

@ -8133,7 +8133,14 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
}; };
}; };
networking.firewall.trustedInterfaces = [ "virbr0" ]; networking = {
firewall.trustedInterfaces = [ "virbr0" ];
search = [
"vbc.ac.at"
"clip.vbc.ac.at"
"imp.univie.ac.at"
];
};
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;
@ -8660,6 +8667,7 @@ It is very convenient to have SSH aliases in place for machines that I use. This
forwardAgent = true; forwardAgent = true;
extraConfig = '' extraConfig = ''
SetEnv TERM=xterm-256color SetEnv TERM=xterm-256color
ServerAliveInterval 20
''; '';
matchBlocks = { matchBlocks = {
# Local machines # Local machines
@ -10927,6 +10935,11 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at"; git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
zsh = { zsh = {
shellAliases = {
dssh = "ssh -l dc_adm_schwarzaeugl";
cssh = "ssh -l cl_adm_schwarzaeugl";
wssh = "ssh -l ws_adm_schwarzaeugl";
};
cdpath = [ cdpath = [
"~/Documents/Work" "~/Documents/Work"
]; ];
@ -10939,23 +10952,34 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
}; };
}; };
ssh = { ssh = {
matchBlocks = { matchBlocks = {
"uc" = { "uc" = {
hostname = "uc.clip.vbc.ac.at"; hostname = "uc.clip.vbc.ac.at";
user = "stack"; user = "stack";
}; };
"uc-stg" = { "uc.stg" = {
hostname = "uc.staging.clip.vbc.ac.at"; hostname = "uc.staging.clip.vbc.ac.at";
user = "stack"; user = "stack";
}; };
"uc.staging" = {
hostname = "uc.staging.clip.vbc.ac.at";
user = "stack";
};
"uc.dev" = {
hostname = "uc.dev.clip.vbc.ac.at";
user = "stack";
};
"cbe" = { "cbe" = {
hostname = "cbe.vbc.ac.at"; hostname = "cbe.vbc.ac.at";
user = "dc_adm_schwarzaeugl"; user = "dc_adm_schwarzaeugl";
}; };
"cbe-stg" = { "cbe.stg" = {
hostname = "cbe.staging.vbc.ac.at"; hostname = "cbe.staging.clip.vbc.ac.at";
user = "dc_adm_schwarzaeugl";
};
"cbe.staging" = {
hostname = "cbe.staging.clip.vbc.ac.at";
user = "dc_adm_schwarzaeugl"; user = "dc_adm_schwarzaeugl";
}; };
"*.vbc.ac.at" = { "*.vbc.ac.at" = {

View file

@ -5,6 +5,7 @@ _:
forwardAgent = true; forwardAgent = true;
extraConfig = '' extraConfig = ''
SetEnv TERM=xterm-256color SetEnv TERM=xterm-256color
ServerAliveInterval 20
''; '';
matchBlocks = { matchBlocks = {
# Local machines # Local machines

View file

@ -21,6 +21,11 @@
git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at"; git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
zsh = { zsh = {
shellAliases = {
dssh = "ssh -l dc_adm_schwarzaeugl";
cssh = "ssh -l cl_adm_schwarzaeugl";
wssh = "ssh -l ws_adm_schwarzaeugl";
};
cdpath = [ cdpath = [
"~/Documents/Work" "~/Documents/Work"
]; ];
@ -33,23 +38,34 @@
}; };
}; };
ssh = { ssh = {
matchBlocks = { matchBlocks = {
"uc" = { "uc" = {
hostname = "uc.clip.vbc.ac.at"; hostname = "uc.clip.vbc.ac.at";
user = "stack"; user = "stack";
}; };
"uc-stg" = { "uc.stg" = {
hostname = "uc.staging.clip.vbc.ac.at"; hostname = "uc.staging.clip.vbc.ac.at";
user = "stack"; user = "stack";
}; };
"uc.staging" = {
hostname = "uc.staging.clip.vbc.ac.at";
user = "stack";
};
"uc.dev" = {
hostname = "uc.dev.clip.vbc.ac.at";
user = "stack";
};
"cbe" = { "cbe" = {
hostname = "cbe.vbc.ac.at"; hostname = "cbe.vbc.ac.at";
user = "dc_adm_schwarzaeugl"; user = "dc_adm_schwarzaeugl";
}; };
"cbe-stg" = { "cbe.stg" = {
hostname = "cbe.staging.vbc.ac.at"; hostname = "cbe.staging.clip.vbc.ac.at";
user = "dc_adm_schwarzaeugl";
};
"cbe.staging" = {
hostname = "cbe.staging.clip.vbc.ac.at";
user = "dc_adm_schwarzaeugl"; user = "dc_adm_schwarzaeugl";
}; };
"*.vbc.ac.at" = { "*.vbc.ac.at" = {

View file

@ -42,7 +42,14 @@ in
}; };
}; };
networking.firewall.trustedInterfaces = [ "virbr0" ]; networking = {
firewall.trustedInterfaces = [ "virbr0" ];
search = [
"vbc.ac.at"
"clip.vbc.ac.at"
"imp.univie.ac.at"
];
};
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;