Files
dotfiles/nix/modules/commonPackages.nix
2025-02-05 16:45:44 +00:00

39 lines
718 B
Nix

{ pkgs, lib, ... }:
{
options = {
commonPackages = lib.mkOption {
type = lib.types.listOf lib.types.package;
default = [ ];
description = "Common packages";
};
};
config = {
commonPackages = with pkgs; [
wget
busybox
curl
stow
gh
neovim
ripgrep
git
gcc
rustup
nixfmt-rfc-style
asciiquarium
wireguard-tools
fzf
lune
];
programs.nix-ld.enable = lib.mkDefault true;
programs.zsh.enable = lib.mkDefault true;
services.openssh.enable = lib.mkDefault true;
programs.neovim = lib.mkDefault {
enable = true;
defaultEditor = true;
vimAlias = true;
};
};
}