feat(nix): Add initial Tazblog Nix deployment configuration

This commit is contained in:
Vincent Ambo 2018-01-01 23:20:17 +01:00
parent 9368117813
commit a646f94d47
6 changed files with 3655 additions and 0 deletions

24
nix/glesys.nix Normal file
View file

@ -0,0 +1,24 @@
{
sto-tazserve-1 = { pkgs, config, ... }: {
deployment.targetHost = "46.21.106.241";
# Configure root disk
fileSystems."/" = {
device = "/dev/disk/by-uuid/edb2a58c-561b-4597-9d88-9886cdfb1eac";
fsType = "ext4";
};
# 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
];
};
}