diff options
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; + }; + }; +} |
