{ pkgs, config, ... }: { # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database servers. # You should change this only after NixOS release notes say you should. system.stateVersion = "19.09"; # Did you read the comment? services.unbound.enable = true; nix.gc.dates = "daily"; nix.gc.options = "--delete-older-than 2d"; # Setting the machine-id avoids to reencrypt all credentials # when reinstalling NixOS on a new drive. # Manually generated with : uuidgen | tr -d - environment.etc.machine-id.source = ./machine-id.clear; environment.systemPackages = with pkgs; [ cryptsetup fio git gptfdisk #hey lm_sensors rsync socat ]; }