nix-config/hosts/containers/spaceapi/default.nix

18 lines
573 B
Nix
Raw Normal View History

2021-09-10 00:21:38 +02:00
{
2019-09-10 22:05:03 +02:00
networking.hostName = "spaceapi";
2021-02-22 11:45:12 +01:00
networking.interfaces.eth0.ipv4.addresses = [{
address = "172.20.73.25";
prefixLength = 26;
}];
networking.defaultGateway = "172.20.73.1";
2020-06-24 18:30:11 +02:00
networking.firewall.enable = false;
2019-09-10 22:05:03 +02:00
2021-02-22 11:45:12 +01:00
services.spaceapi = { enable = true; };
2019-09-10 22:05:03 +02:00
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.03"; # Did you read the comment?
}