added common environment file, fixed sudo issue

This commit is contained in:
2025-06-27 00:05:10 -04:00
parent fefa6dd3de
commit 30a72d9e74
5 changed files with 43 additions and 34 deletions

View File

@ -0,0 +1,20 @@
{ lib, pkgs, ... }: {
# Common packages that every system will use
environment.systemPackages = with pkgs; [
git
vim
neovim
usbutils
coreutils
lshw
systemd
dmidecode
pciutils
nix-ld
patchelf
htop
];
# Common environment variables that every system will use
environment.variables.EDITOR = "nvim";
}