nixos/hosts/vm.strangervm.ts.hillion.co.uk/default.nix

27 lines
540 B
Nix
Raw Normal View History

2022-10-22 22:18:32 +01:00
{ config, pkgs, lib, ... }:
{
system.stateVersion = "22.05";
networking.hostName = "vm";
networking.domain = "strangervm.ts.hillion.co.uk";
imports = [
./hardware-configuration.nix
../../modules/common/default.nix
../../modules/secrets/tailscale/vm.strangervm.ts.hillion.co.uk.nix
];
boot.loader.grub = {
enable = true;
device = "/dev/sda";
};
networking.interfaces.ens18.ipv4.addresses = [{
address = "10.72.164.3";
prefixLength = 24;
}];
networking.defaultGateway = "10.72.164.1";
}