1 { pkgs, lib, config, ... }:
3 inherit (config) networking;
4 inherit (config.security) gnupg;
7 # This value determines the NixOS release with which your system is to be
8 # compatible, in order to avoid breaking some software such as database servers.
9 # You should change this only after NixOS release notes say you should.
10 system.stateVersion = "19.09"; # Did you read the comment?
12 nix.gc.dates = "weekly";
13 nix.gc.options = "--delete-older-than 7d";
15 # Avoid the use of systemd-run --user --scope tmux
16 # and let mosh work smoothly.
17 services.logind.killUserProcesses = false;
19 documentation.nixos = {
20 enable = false; # NOTE: useless on a server, and CPU intensive.
24 # Rotate the consoles anti-clockwise.
28 environment.systemPackages = with pkgs; [
44 #iptables-nftables-compat