summary refs log tree commit diff
path: root/host/Rory-nginx/services/containers/draupnir-cme/root.nix
blob: cf6f8c089a661c7189cb7e95b30bdaf886545cd8 (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
40
41
42
43
{
  config,
  pkgs,
  lib,
  ...
}:

{
  imports = [
    ./services/draupnir.nix
  ];

  environment.systemPackages = with pkgs; [
    neofetch
    lnav
    zsh
    lsd
    htop
    btop
    duf
    kitty.terminfo
    neovim
    jq
    yq
    pv
    dig
  ];

  environment.etc."resolv.conf".text = ''
    nameserver 8.8.8.8
    nameserver 8.4.4.8
    nameserver 1.1.1.1
    nameserver 1.0.0.1
  '';

  networking.hosts = {
    "192.168.100.16" = [ "matrix.rory.gay" "rory.gay" ];
  };
  
  networking.firewall = {
    enable = true;
  };
}