mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-12-22 20:13:04 +01:00
Compare commits
No commits in common. "97f17c21e21d66529536e594e4a1a54f9589a143" and "4105c1068da8305c373a293754805cb477aca015" have entirely different histories.
97f17c21e2
...
4105c1068d
2 changed files with 20 additions and 30 deletions
|
@ -100,7 +100,6 @@ in
|
|||
[
|
||||
(nixGL insomnia)
|
||||
(nixGL comma)
|
||||
# (nixGL processing)
|
||||
(nixGL scrcpy)
|
||||
]
|
||||
else
|
||||
|
|
|
@ -55,35 +55,26 @@ let
|
|||
PubkeyAcceptedKeyTypes = "+ssh-rsa";
|
||||
};
|
||||
};
|
||||
"flanders" = {
|
||||
identityFile = "~/.ssh/id_thilo-billerbeck-com";
|
||||
user = "thilo";
|
||||
};
|
||||
};
|
||||
catchAlls = builtins.listToAttrs (
|
||||
builtins.map
|
||||
(host: {
|
||||
builtins.map (host: {
|
||||
name = "*.${host}";
|
||||
value = {
|
||||
identityFile = "~/.ssh/id_thilo-billerbeck-com";
|
||||
user = "root";
|
||||
};
|
||||
})
|
||||
ownDomains
|
||||
}) ownDomains
|
||||
);
|
||||
hostnameAliasses = builtins.listToAttrs (
|
||||
builtins.map
|
||||
(host: {
|
||||
builtins.map (host: {
|
||||
name = "${host}";
|
||||
value = {
|
||||
hostname = "${host}.thilo-billerbeck.com";
|
||||
};
|
||||
})
|
||||
thiloBillerbeckHosts
|
||||
}) thiloBillerbeckHosts
|
||||
);
|
||||
buildersCCCDA = builtins.listToAttrs (
|
||||
builtins.map
|
||||
(host: {
|
||||
builtins.map (host: {
|
||||
name = "build${host}.darmstadt.ccc.de";
|
||||
value = {
|
||||
user = "avocadoom";
|
||||
|
@ -95,6 +86,6 @@ in
|
|||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = manualMatchBlocks // catchAlls // hostnameAliasses;
|
||||
matchBlocks = manualMatchBlocks // catchAlls // hostnameAliasses // buildersCCCDA;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue