flake/nixos/pkg.nix

88 lines
1.3 KiB
Nix

{
pkgs,
lib,
inputs,
system,
...
}:
let
# List of packages installed in system profile. To search, run:
# $ nix search wget
packages = with pkgs; [
wget
curl
git
hub
fzf
ripgrep
fastfetch
zip
xz
unzip
p7zip
jq
yq-go
eza
dnsutils
nmap
which
tree
gnupg
nix-output-monitor
glow
btop
strace
ltrace
lsof
sysstat
lm_sensors
ethtool
pciutils
usbutils
nil
lazygit
lazydocker
bat
nixfmt-rfc-style
zenity
forgejo-runner # for some reason this installs forgejo-runner as act_runner
imagemagick
fontforge
packwiz
xclip
starship
croc
sops
ssh-to-age
psmisc
#toybox
#busybox
mktemp
nix-search
gh
cloc
python311
python311Packages.python-lsp-server
python311Packages.rich
];
flakePackages = with inputs; [
compose2nix.packages.${system}.default
forgejo-cli.packages.${system}.default
];
in
{
environment.systemPackages = lib.lists.unique (packages ++ flakePackages);
# install docker
virtualisation.docker = {
enable = true;
autoPrune = {
enable = true;
dates = "daily";
};
};
# remove nano
programs.nano.enable = false;
}