HermitNix_DEPRECATED/System/packages.nix

41 lines
761 B
Nix

{ config, pkgs, inputs, ... }:
{
# Allow unfree packages
nixpkgs.config = {
allowUnfree = true;
};
# Set zsh (config is still per user)
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
environment = {
# Default shell
shells = [ pkgs.zsh ];
# Other defaults
variables = {
EDITOR = "vi";
SYSTEMD_EDITOR = "vi";
VISUAL = "vi";
};
# Nixos default installed packages (this is set to get rid of nano >:3 )
defaultPackages = with pkgs; [
nvi
perl
rsync
strace
];
# Systemwide installed packages
systemPackages = with pkgs; [
ffmpeg
ranger
parted
util-linux
bottom
curl
wget
gitui
lynx
];
};
}