Files
nixos/system/common.nix
T
2025-07-25 10:24:08 +02:00

45 lines
955 B
Nix

{ config, pkgs, system, nix-alien, ... }:
{
system.stateVersion = "25.05";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader.systemd-boot.configurationLimit = 10;
# time and localization
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# networking
networking.networkmanager.enable = true;
networking.firewall.enable = true;
services.openssh.enable = true;
environment.systemPackages = with pkgs; [
# basics
lshw
git
wget
vim
neovim
# terminal related
alacritty
ranger
htop
];
}