nixos: add a list of default programs

This commit is contained in:
Guanran Wang 2023-12-25 22:27:42 +08:00
parent fa0e9ccc74
commit 4cecc06627
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -2,6 +2,7 @@
config,
lib,
inputs,
pkgs,
...
}: {
imports = [
@ -38,6 +39,21 @@
### Default Programs
environment.defaultPackages = [];
# In addtion of https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/system-path.nix
environment.systemPackages = with pkgs; [
unzip
wget
tree
file
htop
lsof
ltrace
dnsutils
pciutils
usbutils
];
programs.dconf.enable = true;
programs.nano.enable = false; # make sure to add another editor and set the $EDITOR variable
programs.neovim = {