blob: d77266ca394f9307d1bf60b40ada1d152d544368 (
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
};
}
|