summary refs log tree commit diff
path: root/host/Rory-postgres/configuration.nix
blob: f399f7887937738d2804be9967a9c00f600daf38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ config, pkgs, lib, ... }:

{
  imports =
    [
      ../../modules/base-server.nix
      ./software.nix
    ];

  networking = {
    hostName = "Rory-postgres";
    interfaces.ens18.ipv4.addresses = [ { 
      address = "192.168.1.3";
      prefixLength = 24;
    } ];
    interfaces.ens19.ipv4.addresses = [ {
      address = "10.10.10.3";
      prefixLength = 16;
    } ];
  };

  system.stateVersion = "22.11"; # DO NOT EDIT!
}