mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-04-27 14:41:20 +00:00
48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./users.nix # Import user-specific config
|
|
./packages.nix # Import package-specific config
|
|
./services.nix # Import services config
|
|
];
|
|
|
|
# Bootloader and EFI settings
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Hostname and networking
|
|
networking.hostName = "tongfang";
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Time and locale settings
|
|
time.timeZone = "Europe/Amsterdam";
|
|
i18n.defaultLocale = "en_US.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 = "en_US.UTF-8";
|
|
};
|
|
|
|
# Fonts configuration
|
|
fonts = {
|
|
enableDefaultPackages = true;
|
|
packages = with pkgs; [
|
|
jetbrains-mono
|
|
];
|
|
};
|
|
|
|
# Enable Nix Flakes and experimental features
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
# System state version
|
|
system.stateVersion = "24.05";
|
|
}
|