summary refs log tree commit diff
path: root/host/Rory-nginx/configuration.nix
blob: 2c33448d60c382920cc0636730a9c896c7d22e21 (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
25
26
27
28
29
30
{ config, pkgs, lib, ... }:

{
  imports =
    [
      ../../modules/base-server.nix
      ../../modules/users/levi.nix
      ../../modules/users/db2k.nix

      ../../modules/services/nginx.nix
      ../../modules/services/postgres.nix
      ../../modules/services/synapse.nix

      ./software.nix
    ];
  users.groups.ocp = {};
  networking = {
    hostName = "Rory-nginx";
    interfaces.ens18.ipv4.addresses = [ { 
      address = "192.168.1.2";
      prefixLength = 24;
    } ];
    interfaces.ens19.ipv4.addresses = [ {
      address = "10.10.10.2";
      prefixLength = 16;
    } ];
  };

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