49 lines
1.3 KiB
Nix
49 lines
1.3 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’).
|
||
|
||
{ ... }:
|
||
|
||
{
|
||
# Bootloader.
|
||
boot = {
|
||
loader.systemd-boot.enable = true;
|
||
loader.efi.canTouchEfiVariables = true;
|
||
plymouth.enable = true;
|
||
|
||
# Enable "Silent boot"
|
||
consoleLogLevel = 3;
|
||
initrd.verbose = false;
|
||
|
||
# Hide the OS choice for bootloaders.
|
||
# It's still possible to open the bootloader list by pressing any key
|
||
# It will just not appear on screen unless a key is pressed
|
||
loader.timeout = 0;
|
||
};
|
||
|
||
# Set your time zone.
|
||
time.timeZone = "America/New_York";
|
||
|
||
# Select internationalisation properties.
|
||
i18n.defaultLocale = "en_US.UTF-8";
|
||
|
||
i18n.extraLocaleSettings = {
|
||
LC_ADDRESS = "en_US.UTF-8";
|
||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||
LC_MEASUREMENT = "en_US.UTF-8";
|
||
LC_MONETARY = "en_US.UTF-8";
|
||
LC_NAME = "en_US.UTF-8";
|
||
LC_NUMERIC = "en_US.UTF-8";
|
||
LC_PAPER = "en_US.UTF-8";
|
||
LC_TELEPHONE = "en_US.UTF-8";
|
||
LC_TIME = "en_US.UTF-8";
|
||
};
|
||
|
||
systemd.sleep.extraConfig = ''
|
||
SuspendState=freeze
|
||
HibernateDelaySec=2h
|
||
'';
|
||
|
||
system.stateVersion = "25.11"; # Did you read the comment?
|
||
}
|