1
0
Fork 0

home-manager: fix packages

This commit is contained in:
Pratham Patel 2024-02-18 15:21:00 +05:30
parent 5e3c75add6
commit 9b2f9cc20e
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
3 changed files with 137 additions and 17 deletions

View File

@ -2,30 +2,91 @@
{
home.packages = with pkgs; [
# base system packages + packages what I *need*
cloud-utils # provides growpart
parallel
pinentry # pkg summary: GnuPGs interface to passphrase input
pv
python3Minimal
rsync
tree
vim # it is a necessity
# shells
dash
# download clients
curl
wget
# compression and decompression
bzip2
gnutar
gzip
unzip
xz
zip
zstd
# programming tools + compilers + interpreters
ghc
rustup # provides rustfmt, cargo-clippy, rustup, cargo, rust-lldb, rust-analyzer, rustc, rust-gdb, cargo-fmt
# dealing with other distro's packages
dpkg
rpm
# network monitoring
iperf # this is iperf3
iperf2 # this is what is usually 'iperf' on other distros
nload
trippy
# other utilities
android-tools
asciinema
#buildah # 1. needs to be built for some reason; 2. git is a build requirement
fzf
parted
picocom
ubootTools
ventoy
# utilities written in Rust
choose
du-dust
dua
fd
hyperfine
procs
sd
tre-command
# tools specific to Nix
nix-output-monitor
];
programs = {
home-manager.enable = true;
};
# home-manager does not need to overwrite these files in $HOME
home.file = {
".bash_profile".enable = false;
".bashrc".enable = false;
".profile".enable = false;
};
programs = {
bash = {
enable = true;
enableCompletion = true;
};
aria2.enable = true;
bat.enable = true;
bottom.enable = true;
broot.enable = true;
btop.enable = true;
command-not-found.enable = true;
gpg.enable = true;
home-manager.enable = true;
htop.enable = true;
ripgrep.enable = true;
tealdeer.enable = true;
yt-dlp.enable = true;
zoxide.enable = true;
direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
neovim = {
enable = true;
extraPackages = with pkgs; [
@ -41,13 +102,22 @@
tree-sitter # otherwise nvim complains that the binary 'tree-sitter' is not found
];
};
skim = {
enable = true;
enableBashIntegration = true;
};
};
nix = {
package = pkgs.nix;
checkConfig = true;
settings = {
experimental-features = [ "nix-command" "flakes" ];
settings.experimental-features = [ "nix-command" "flakes" ];
gc = {
automatic = true;
frequency = "weekly";
options = "--delete-older-than 14d";
};
};

View File

@ -2,8 +2,50 @@
{
home.packages = with pkgs; [
# base system packages + packages what I *need*
coreutils-prefixed
gawk
gnugrep
gnused
# for media consumption, manipulation and metadata info
ffmpeg
imagemagick
mediainfo
# GUI apps
meld
utm
# fonts
(nerdfonts.override {
fonts = [
"FiraCode"
"Overpass"
"SourceCodePro"
];
})
];
programs = {
mpv.enable = true;
alacritty.enable = true;
tmux.enable = true;
bash = {
enable = true;
enableCompletion = true;
};
};
# home-manager does not need to overwrite these files in $HOME
xdg.configFile = {
};
home.file = {
".bash_profile".enable = false;
".bashrc".enable = false;
".profile".enable = false;
};
targets.darwin = {
currentHostDefaults = {
"com.apple.controlcenter".BatteryShowPercentage = true;

View File

@ -11,6 +11,14 @@ in
{
home.packages = with pkgs; [
# base system packages + packages what I *need*
smartmontools
wol
# virtualisation
libvirt
qemu_kvm
virt-manager
];
systemd.user = {