refactor: split "real" modules and "config" modules

This commit is contained in:
oddlama 2024-05-25 17:56:30 +02:00
parent 045f15239a
commit cceae6c63c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
60 changed files with 126 additions and 113 deletions

43
users/config/utils.nix Normal file
View file

@ -0,0 +1,43 @@
{
pkgs,
lib,
minimal,
...
}:
lib.optionalAttrs (!minimal) {
home = {
packages = with pkgs; [
bandwhich
btop
delta
fd
file
hexyl
killall
ncdu
neofetch
nvd
rage
rclone
ripgrep
rnr
rsync
sd
tree
unzip
zip
wget
usbutils
pciutils
];
};
programs = {
bat = {
enable = true;
config.theme = "TwoDark";
};
fzf.enable = true;
gpg.enable = true;
};
}