2022-06-27 20:59:16 +02:00
|
|
|
|
{ ... }:
|
2022-05-07 23:11:09 +02:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
boot.tmpOnTmpfs = true;
|
|
|
|
|
|
|
|
|
|
hardware.hackrf.enable = true;
|
2022-05-08 14:12:31 +02:00
|
|
|
|
hardware.rtl-sdr.enable = true;
|
2022-05-07 23:11:09 +02:00
|
|
|
|
|
|
|
|
|
networking.hostName = "mobile-box"; # Define your hostname.
|
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
|
|
documentation.enable = false;
|
2022-06-06 23:32:11 +02:00
|
|
|
|
documentation.nixos.enable = false;
|
2022-05-07 23:11:09 +02:00
|
|
|
|
|
2022-05-29 02:39:40 +02:00
|
|
|
|
nix = {
|
2022-12-31 16:28:38 +01:00
|
|
|
|
settings.build-cores = 1;
|
2022-05-29 02:39:40 +02:00
|
|
|
|
gc = {
|
|
|
|
|
automatic = true;
|
|
|
|
|
dates = "daily";
|
2023-11-29 14:53:56 +01:00
|
|
|
|
options = "--delete-old";
|
2022-05-29 02:39:40 +02:00
|
|
|
|
};
|
2022-05-07 23:11:09 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.journald.extraConfig = ''
|
|
|
|
|
SystemMaxUse=5M
|
|
|
|
|
'';
|
|
|
|
|
|
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-05-07 23:11:09 +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. It‘s 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?
|
|
|
|
|
|
|
|
|
|
}
|