feat(nix): Add initial Tazblog Nix deployment configuration
This commit is contained in:
parent
9368117813
commit
a646f94d47
6 changed files with 3655 additions and 0 deletions
24
nix/glesys.nix
Normal file
24
nix/glesys.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue