nix-config/hosts/traffic-stop-boxes/configuration.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

2022-04-23 03:01:58 +02:00
{ config, pkgs, inputs, ... }:
{
2022-04-28 17:51:03 +02:00
boot.tmpOnTmpfs = true;
2022-04-23 13:41:36 +02:00
2022-04-23 04:17:33 +02:00
hardware.hackrf.enable = true;
2022-05-07 20:14:26 +02:00
hardware.rtl-sdr.enable = true;
2022-04-23 03:01:58 +02:00
networking.hostName = "traffic-stop-box-${toString config.dump-dvb.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-05-29 02:39:40 +02:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 1;
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?
}