aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/nixos.nix
blob: 558ae60a718a912031912723d75470e2cacbfee3 (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
30
{
  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;

  services.sshd.enable = true;

  facter.reportPath = ./facter.json;

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

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

  system.stateVersion = "25.05";
}