feat: Convert to module options
This commit is contained in:
parent
3792d15fd0
commit
44bb5b5c8c
9 changed files with 420 additions and 315 deletions
modules
41
modules/qolPackages.nix
Normal file
41
modules/qolPackages.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.jiriks74.zsh;
|
||||
in {
|
||||
meta.maintainers = with lib.maintainers; [jiriks74];
|
||||
|
||||
options.jiriks74.zsh.qolPackages = lib.mkEnableOption "Install QualityOfLife packages";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
# asciinema
|
||||
asciinema_3 # Terminal recording
|
||||
asciinema-agg # Convert asciinema recordings
|
||||
libnotify # Notifications
|
||||
# ^ asciinema
|
||||
|
||||
curl
|
||||
|
||||
# parsing
|
||||
gawk
|
||||
jq
|
||||
yq
|
||||
# ^ parsing
|
||||
|
||||
python3
|
||||
|
||||
# useful dev/everyday tools
|
||||
encfs
|
||||
file
|
||||
htop-vim
|
||||
tldr
|
||||
tmux
|
||||
tree
|
||||
# ^ useful dev/everyday tools
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue