diff options
Diffstat (limited to 'installer/default.nix')
-rw-r--r-- | installer/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/installer/default.nix b/installer/default.nix new file mode 100644 index 00000000..bf09c8d8 --- /dev/null +++ b/installer/default.nix | |||
@@ -0,0 +1,32 @@ | |||
1 | { flake, pkgs, ... }: { | ||
2 | imports = with flake.nixosModules.systemProfiles; [ | ||
3 | default-locale zfs networkmanager openssh | ||
4 | ]; | ||
5 | |||
6 | config = { | ||
7 | networking = { | ||
8 | firewall.enable = false; | ||
9 | nftables = { | ||
10 | enable = true; | ||
11 | rulesetFile = ./ruleset.nft; | ||
12 | }; | ||
13 | }; | ||
14 | |||
15 | services.openssh = { | ||
16 | enable = true; | ||
17 | staticHostKeys = false; | ||
18 | }; | ||
19 | |||
20 | services.qemuGuest.enable = true; | ||
21 | |||
22 | services.resolved = { | ||
23 | llmnr = "false"; | ||
24 | }; | ||
25 | |||
26 | environment.systemPackages = with pkgs; [ | ||
27 | nvme-cli iotop mosh | ||
28 | ]; | ||
29 | |||
30 | zramSwap.enable = true; | ||
31 | }; | ||
32 | } | ||