nix-config/modules/traffic-stop-box/configuration.nix

35 lines
965 B
Nix
Raw Normal View History

{ config, ... }:
2022-04-23 03:01:58 +02:00
{
2022-04-28 17:51:03 +02:00
boot.tmpOnTmpfs = true;
2022-04-23 13:41:36 +02:00
2022-12-30 18:29:13 +01:00
networking.hostName = "traffic-stop-box-${toString config.deployment-TLMS.systemNumber}"; # Define your hostname.
2022-04-23 03:01:58 +02:00
# Set your time zone.
time.timeZone = "Europe/Berlin";
2022-04-25 16:57:36 +02:00
documentation.enable = false;
2022-06-06 23:32:11 +02:00
documentation.nixos.enable = false;
2022-04-23 03:01:58 +02:00
2022-05-14 15:39:29 +02:00
nix = {
buildCores = 1;
gc = {
automatic = true;
dates = "daily";
};
2022-04-28 17:51:03 +02:00
};
services.journald.extraConfig = ''
2022-04-28 20:01:49 +02:00
SystemMaxUse=5M
2022-04-28 17:51:03 +02:00
'';
2022-04-23 03:01:58 +02:00
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.11"; # Did you read the comment?
}