From ca9e1f1fb8126b34ca95fca78965c1d782a30102 Mon Sep 17 00:00:00 2001 From: Rosa Date: Sat, 20 Dec 2025 13:16:20 -0500 Subject: init --- common/core.nix | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 common/core.nix (limited to 'common/core.nix') diff --git a/common/core.nix b/common/core.nix new file mode 100644 index 0000000..cafe469 --- /dev/null +++ b/common/core.nix @@ -0,0 +1,49 @@ +{ config, pkgs, ... }: +{ + boot.loader = { + efi.canTouchEfiVariables = true; + systemd-boot = { + enable = true; + editor = false; + memtest86.enable = true; + }; + + timeout = 3; + }; + + environment.systemPackages = with pkgs; [ + kakoune + ]; + + hardware.enableRedistributableFirmware = true; + nix.settings.experimental-features = [ + "flakes" + "nix-command" + ]; + + programs = { + git = { + enable = true; + package = pkgs.gitMinimal; + }; + + nano.enable = false; + zsh = { + enable = true; + setOptions = [ "HIST_IGNORE_ALL_DUPS" ]; + shellInit = '' + PS1="%n@%m %~ %# " + ''; + }; + }; + + users = { + defaultUserShell = pkgs.zsh; + users.rosa = { + extraGroups = [ "wheel" ]; + initialPassword = ""; + isNormalUser = true; + shell = pkgs.zsh; + }; + }; +} -- cgit v1.3.1