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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
753 B
Nix
Raw Normal View History

{ zentralwerk, ... }:
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 = zentralwerk.lib.config.site.net.serv.subnet4Len;
2021-02-22 11:45:12 +01:00
}];
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
c3d2.autoUpdate = true;
2021-02-22 11:45:12 +01:00
services.spaceapi = { enable = true; };
2019-09-10 22:05:03 +02:00
# HACK for ekg-json-0.1.0.6 nixos-22.05
nixpkgs.config.allowBroken = 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?
}