mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
chore: update ssh config
This commit is contained in:
parent
ec9ad1e019
commit
fff1c89a00
5 changed files with 27 additions and 3 deletions
19
hosts/work/ssh.nix
Normal file
19
hosts/work/ssh.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
fireproof.home-manager.programs.ssh.matchBlocks = {
|
||||||
|
"dev.ao" = {
|
||||||
|
hostname = "192.168.2.28";
|
||||||
|
proxyJump = lib.mkForce null;
|
||||||
|
};
|
||||||
|
"flex.ao" = {
|
||||||
|
hostname = "192.168.2.5";
|
||||||
|
proxyJump = lib.mkForce null;
|
||||||
|
};
|
||||||
|
"bastion.ao" = {
|
||||||
|
hostname = "192.168.2.6";
|
||||||
|
proxyJump = lib.mkForce null;
|
||||||
|
};
|
||||||
|
"server" = {
|
||||||
|
proxyJump = "bastion.ao";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -29,13 +29,17 @@ in {
|
||||||
"*" = {
|
"*" = {
|
||||||
identityFile = "${config.age.secrets.ssh-key.path}";
|
identityFile = "${config.age.secrets.ssh-key.path}";
|
||||||
};
|
};
|
||||||
|
server = {
|
||||||
|
hostname = "x.nickolaj.com";
|
||||||
|
user = "server";
|
||||||
|
};
|
||||||
# Work hostnames definded in ./networking.nix
|
# Work hostnames definded in ./networking.nix
|
||||||
"*.ao" = {
|
"*.ao" = {
|
||||||
user = "nij";
|
user = "nij";
|
||||||
identityFile = "${config.age.secrets.ssh-key-ao.path}";
|
identityFile = "${config.age.secrets.ssh-key-ao.path}";
|
||||||
};
|
};
|
||||||
"dev.ao".proxyJump = "bastion.ao";
|
"dev.ao".proxyJump = lib.mkDefault "bastion.ao";
|
||||||
"scw.ao".proxyJump = "bastion.ao";
|
"scw.ao".proxyJump = lib.mkDefault "dev.ao";
|
||||||
"clickhouse.ao".user = "ubuntu";
|
"clickhouse.ao".user = "ubuntu";
|
||||||
"flex.ao" = {
|
"flex.ao" = {
|
||||||
hostname = "192.168.2.5";
|
hostname = "192.168.2.5";
|
||||||
|
|
|
||||||
|
|
@ -301,6 +301,7 @@ in {
|
||||||
# Firefox
|
# Firefox
|
||||||
"float,class:^(firefox)$,title:^(Picture-in-Picture)$"
|
"float,class:^(firefox)$,title:^(Picture-in-Picture)$"
|
||||||
"float,class:^(firefox)$,title:^(Library)$"
|
"float,class:^(firefox)$,title:^(Library)$"
|
||||||
|
"float,class:^(firefox)$,title:^(Bitwarden Password Manager)$"
|
||||||
|
|
||||||
# JetBrains
|
# JetBrains
|
||||||
"center,class:^(jetbrains-.*)$,title:^$,floating:1"
|
"center,class:^(jetbrains-.*)$,title:^$,floating:1"
|
||||||
|
|
|
||||||
0
modules/hardware/keyboard.nix
Normal file
0
modules/hardware/keyboard.nix
Normal file
2
result
2
result
|
|
@ -1 +1 @@
|
||||||
/nix/store/mabdcimq3jgzzpb8azqw94f4bny91v5a-nixos-system-work-24.11.20250221.11415c7
|
/nix/store/srlm3dpxlzlpj9i4n9knqg5dfd2vglpq-nixos-system-work-24.11.20250221.11415c7
|
||||||
Loading…
Add table
Add a link
Reference in a new issue