NixOS-Configuration/configuration.nix

56 lines
1.1 KiB
Nix
Raw Normal View History

2023-06-30 22:06:14 +00:00
{ config, pkgs, ... }:
{
imports =
2023-06-30 22:46:44 +00:00
[
2023-06-30 22:06:14 +00:00
./hardware-configuration.nix
2023-06-30 23:42:57 +00:00
./home-manager.nix
2023-06-30 22:38:56 +00:00
./user-packages.nix
./users.nix
./audio.nix
./system-packages.nix
./hibernation.nix
./bootloader.nix
2023-06-30 22:49:10 +00:00
./desktop-environment.nix
2023-06-30 22:06:14 +00:00
];
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
networking.hostName = "Zenith-nixos"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "nl_NL.UTF-8";
LC_IDENTIFICATION = "nl_NL.UTF-8";
LC_MEASUREMENT = "nl_NL.UTF-8";
LC_MONETARY = "nl_NL.UTF-8";
LC_NAME = "nl_NL.UTF-8";
LC_NUMERIC = "nl_NL.UTF-8";
LC_PAPER = "nl_NL.UTF-8";
LC_TELEPHONE = "nl_NL.UTF-8";
LC_TIME = "nl_NL.UTF-8";
};
# Enable CUPS to print documents.
services.printing.enable = true;
2023-06-30 22:49:10 +00:00
2023-06-30 22:06:14 +00:00
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
roboto
noto-fonts
];
2023-06-30 22:53:47 +00:00
system.stateVersion = "23.05";
2023-06-30 22:06:14 +00:00
}