From ea767d86e0c951ff0b019daa522f2ee4836705a7 Mon Sep 17 00:00:00 2001 From: Sangmin Kim Date: Tue, 19 May 2026 13:26:45 +0900 Subject: [PATCH] add base system module --- modules/base.nix | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/modules/base.nix b/modules/base.nix index bcfa03a..94338a5 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -1 +1,37 @@ -# TODO: Define common base system settings. +{ pkgs, ... }: + +{ + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + nix.settings.trusted-users = [ + "root" + "@wheel" + ]; + + time.timeZone = "Asia/Seoul"; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + networking.networkmanager.enable = true; + networking.firewall.enable = true; + + environment.systemPackages = with pkgs; [ + git + vim + curl + wget + htop + tmux + jq + fd + ripgrep + lsof + pciutils + usbutils + dnsutils + ]; +}