summary refs log tree commit diff
path: root/host/Rory-discordbots/configuration.nix
blob: 0acb6813e7a08148a582038045b8bed203c156af (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
31
32
33
34
35
36
37
38
39
{ config, pkgs, lib, botcore-v4, ... }:

{
  imports =
    [
      ../../modules/base-server.nix
     # ./services.nix
     botcore-v4.modules.bots
     botcore-v4.modules.frontend
     botcore-v4.modules.dataupdater
    ];

  networking = {
    hostName = "Rory-discordbots";
    networkmanager.enable = false;
    wireless.enable = false;
      
    firewall = {
      enable = false;
    };
    interfaces.ens18.ipv4.addresses = [ { 
      address = "192.168.1.50";
      prefixLength = 24;
    } ];
  };

  sound.enable = true;
  hardware.pulseaudio.enable = true;

  environment.systemPackages = with pkgs; [
    botcore-v4.packages.x86_64-linux.bots
    botcore-v4.packages.x86_64-linux.frontend
    botcore-v4.packages.x86_64-linux.dataupdater
  ];


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