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 hardware.bluetooth.enable = true;
20 #services.blueman.enable = true;
22 documentation.nixos = {
23 enable = false; # NOTE: useless on a server, and CPU intensive.
27 # Rotate the consoles anti-clockwise.
31 environment.systemPackages = with pkgs; [
48 #iptables-nftables-compat