workhorse update 20.09 wip

This commit is contained in:
Ingolf Wagner 2020-11-23 01:45:12 +01:00
parent edfd24448b
commit a87a8a2bd4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 6 additions and 4 deletions

View file

@ -55,7 +55,8 @@
configuration.init-ssh = { configuration.init-ssh = {
enable = "enabled"; enable = "enabled";
kernelModules = [ "r8169" ]; kernelModules = [ "r8169" ];
hostECDSAKey = <secrets/init-ssh/host_ecdsa_key>; #hostECDSAKey = <secrets/init-ssh/host_ecdsa_key>;
hostECDSAKey = <secrets/init-ssh/ssh_host_ed25519_key>;
}; };
# nix-shell -p speedtest_cli --run speedtest # nix-shell -p speedtest_cli --run speedtest

View file

@ -188,7 +188,7 @@ in {
# }; # };
#}); #});
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
nginx.enable = true; #nginx.enable = true;
hostName = "nextcloud.ingolf-wagner.de"; hostName = "nextcloud.ingolf-wagner.de";
#logLevel = 0; #logLevel = 0;
https = true; https = true;

View file

@ -6,7 +6,7 @@ let
workhorse = { workhorse = {
onionId = fileContents <common_secrets/onion/workhorse>; onionId = fileContents <common_secrets/onion/workhorse>;
publicKey = publicKey =
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBB+sHmukNa2TmtBDCqN+LVaYblvHztD/ziK2cbKR8dEHztF0YBS60MHMpbGPOII5NVMUY6Z2OHFBQi9X6PG1YBY="; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII/I4JBA1HHTH2xsrEM7xtxkhRDE42lZcBrdBvN46WTx";
}; };
porani = { porani = {
onionId = fileContents <common_secrets/onion/porani>; onionId = fileContents <common_secrets/onion/porani>;

View file

@ -93,7 +93,8 @@ in {
port = cfg.port; port = cfg.port;
}; };
boot.initrd.availableKernelModules = cfg.kernelModules; boot.initrd.availableKernelModules = cfg.kernelModules;
boot.initrd.network.ssh.hostECDSAKey = cfg.hostECDSAKey; #boot.initrd.network.ssh.hostECDSAKey = cfg.hostECDSAKey;
boot.initrd.network.ssh.hostKeys = [ cfg.hostECDSAKey ];
}) })
]; ];
} }