2016-01-28 02:59:31 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let secrets = import <secrets>;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports =
|
2017-02-02 17:22:03 +01:00
|
|
|
[ ../physical/hp8570w.nix
|
2016-01-28 02:59:31 +01:00
|
|
|
../roles/common.nix
|
2017-02-02 16:31:19 +01:00
|
|
|
../roles/workstation.nix
|
2016-01-28 02:59:31 +01:00
|
|
|
];
|
|
|
|
|
2018-02-27 16:31:16 +01:00
|
|
|
system.stateVersion = "17.09";
|
2016-01-28 02:59:31 +01:00
|
|
|
# no, not that Ascanius.
|
|
|
|
networking.hostName = secrets.hostnames.ascanius;
|
2018-02-27 16:31:16 +01:00
|
|
|
services.tor.hiddenServices.ssh.map = [
|
|
|
|
{ port = 22; }
|
|
|
|
];
|
|
|
|
services.tor.service-keys.ssh = "/run/keys/torkeys/ssh.ascanius.key";
|
2016-01-28 02:59:31 +01:00
|
|
|
|
|
|
|
}
|