27 lines
540 B
Nix
27 lines
540 B
Nix
|
{ 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";
|
||
|
}
|
||
|
|