blob: f882b22d2a977e787617b14922c2d25cea52ab1f (
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, config, 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;
system.stateVersion = config.system.nixos.release; # No state in installer
};
}
|