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

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

  systemd.services.systemd-udev-settle.enable = false;
  networking.interfaces.wlp2s0.useDHCP = false;

  facter.reportPath = ./facter.json;

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

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

  system.stateVersion = "25.05";
}