summaryrefslogtreecommitdiff
path: root/installer/default.nix
blob: ad0c3849a98b1d3b277c2dcc5bfa7864027016a5 (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
31
32
33
34
{ flake, pkgs, ... }: {
  imports = with flake.nixosModules.systemProfiles; [
    default-locale zfs networkmanager openssh
  ];

  config = {
    networking = {
      firewall.enable = false;
      nftables = {
        enable = true;
        rulesetFile = ./ruleset.nft;
      };
    };
     
    services.openssh = {
      enable = true;
      staticHostKeys = false;
    };

    services.qemuGuest.enable = true;

    services.resolved = {
      llmnr = "false";
    };

    environment.systemPackages = with pkgs; [
      nvme-cli iotop mosh
    ];

    zramSwap.enable = true;

    home-manager.enableSystemd = true;
  };
}