From 4cecc06627e00a52e0c94233438ca76a92726900 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 25 Dec 2023 22:27:42 +0800 Subject: [PATCH] nixos: add a list of default programs --- nixos/profiles/core/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nixos/profiles/core/default.nix b/nixos/profiles/core/default.nix index a29ad1f..758a4d4 100644 --- a/nixos/profiles/core/default.nix +++ b/nixos/profiles/core/default.nix @@ -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 = {