Files
nix-config-v2/modules/common/environment.nix

24 lines
397 B
Nix
Raw Normal View History

{ lib, pkgs, ... }: {
environment.systemPackages = with pkgs; [
git
vim
neovim
usbutils
coreutils
pciutils
patchelf
htop
2025-08-27 11:31:06 -04:00
] ++
lib.optionals pkgs.stdenv.isLinux (with pkgs; [
systemd
lshw
dmidecode
nix-ld
]) ++
lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
2025-09-04 14:05:36 -04:00
# nothing here, yet ;)
2025-08-27 11:31:06 -04:00
]);
environment.variables.EDITOR = "nvim";
}