diff options
| author | Rosa <rosaontheweb@proton.me> | 2025-12-20 13:16:20 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2025-12-20 13:30:34 -0500 |
| commit | ca9e1f1fb8126b34ca95fca78965c1d782a30102 (patch) | |
| tree | 65b8e7e9125e3c9f2f4c72e15afa47fb6fe8c8ec /common/core.nix | |
init
Diffstat (limited to 'common/core.nix')
| -rw-r--r-- | common/core.nix | 49 |
1 files changed, 49 insertions, 0 deletions
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; + }; + }; +} |
