tvl-depot/nix/glesys.nix
Vincent Ambo f9641cc1ed refactor(nix): Use disk labels instead of disk UUIDs
Makes configuration portable between VM instances.
2018-01-02 12:08:35 +01:00

18 lines
454 B
Nix

{
sto-tazserve-1 = { pkgs, config, ... }: {
deployment.targetHost = "46.21.106.241";
# Configure network
networking.hostName = "sto-tazserve-1";
networking.interfaces.ens32.ip4 = [
{ address = "46.21.106.241"; prefixLength = 23; }
];
networking.defaultGateway = "46.21.106.1";
networking.nameservers = [ "195.20.206.80" "195.20.206.81" ];
imports = [
./configuration.nix
./tazserve.nix
];
};
}