aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/nixos.nix
blob: 631a53774176b6ee3a7a31c1a52182a7a3db8893 (plain)
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
{
  lib,
  inputs,
  ...
}: {
  imports = [
    ./disks.nix
    ./battery.nix
    ./ai.nix

    inputs.nixos-facter-modules.nixosModules.facter
    inputs.lanzaboote.nixosModules.lanzaboote
  ];

  services.syncthing = {
    enable = true;
    user = "collin";
    dataDir = "/home/collin/.local/syncthing";
  };

  facter.reportPath = ./facter.json;

  environment.defaultPackages = lib.mkForce []; # im not a noob

  networking.firewall = {
    allowedUDPPorts = [445];
    allowedTCPPorts = [8000];
  };
}