Files
nix-los/nixos/default.nix

43 lines
882 B
Nix

{ config, lib, pkgs, pkgs-unstable, ... }:
{
imports = [
./modules/system.nix
./modules/development.nix
./modules/shell.nix
];
# ============================================
# Shared NixOS Configuration
# ============================================
# System packages available to all users
environment.systemPackages = with pkgs; [
git
curl
vim
htop
];
# Nix settings
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
# System-wide locale
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Berlin";
# Networking basics
networking.useDHCP = lib.mkDefault true;
networking.networkmanager.enable = lib.mkDefault false;
}