summaryrefslogtreecommitdiff
path: root/installer.nix
blob: 781069022a8c87b5ea2868df8fa2a68f330139c7 (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
{ flake, pkgs, ... }: {
  imports = with flake.nixosModules.systemProfiles; [
    default-locale
  ];

  config = {
    boot = {
      kernelPackages = pkgs.linuxPackages_latest;
      zfs.enableUnstable = true;
    };
    
    networking.wireless.enable = false;
    
    networking.firewall = {
      enable = true;
      allowedTCPPorts = [ 22 # ssh
                        ];
    };

    systemd.services."sshd".wantedBy = ["multi-user.target"]; 

    services.qemuGuest.enable = true;
  };
}