47 lines
1.2 KiB
Nix
47 lines
1.2 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ config, pkgs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[
|
||
./hardware-configuration.nix
|
||
./boot.nix
|
||
./i18n.nix
|
||
./network.nix
|
||
./programs/installed.nix
|
||
./services/enabled.nix
|
||
./users.nix
|
||
# ./module/news2kindle/news2kindle.nix
|
||
# ./module/etherpad/etherpad.nix
|
||
];
|
||
|
||
nixpkgs.config.allowUnfree = true;
|
||
nix.gc.automatic = true;
|
||
nix.gc.dates = "03:15";
|
||
nix.gc.options = "--delete-older-than 15d";
|
||
|
||
# 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 = "17.09"; # Did you read the comment?
|
||
autoUpgrade = {
|
||
enable = true;
|
||
allowReboot = true;
|
||
flags = [
|
||
"--max-jobs"
|
||
"1"
|
||
"--builders"
|
||
"''"
|
||
];
|
||
};
|
||
};
|
||
|
||
security.acme.email = "stubbfel@posteo.de";
|
||
security.acme.acceptTerms = true;
|
||
}
|