refactor: removing needless module complexity

This commit is contained in:
cnst
2024-10-27 09:14:34 +01:00
parent d8f810ee05
commit 4887feccfd
175 changed files with 920 additions and 1118 deletions

View File

@@ -0,0 +1,76 @@
{
pkgs,
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.misc;
in {
options = {
home.programs.misc.enable = mkEnableOption "Enables miscellaneous utility apps";
};
config = mkIf cfg.enable {
programs = {
ssh = {
enable = true;
};
# image viewer
feh = {
enable = true;
};
# system information
fastfetch = {
enable = true;
};
# a monitor of resources
btop = {
enable = true;
settings = {
color_theme = "gruvbox_material_dark";
};
};
};
home.packages = with pkgs; [
# misc.gui
virt-manager
xfce.thunar
file-roller # archiver
gnome-calculator
keepassxc
networkmanagerapplet # tray icon for NetworkManager
nwg-look # GTK settings
pavucontrol # GUI sound control
qbittorrent
usbimager # write bootable usb images!
slurp # select region for screenshot
# misc.tui
ranger
xcur2png
calcurse # calendar
chatgpt-cli
exiftool
hyprpicker # Color picker
libnotify
pamixer # TUI sound control
ripgrep
file
fd
gnused
nix-tree
# misc.system
adwaita-icon-theme
qt5.qtwayland
qt6.qtwayland
wireguard-tools
wl-clipboard
wpa_supplicant
xfce.thunar-archive-plugin
xfce.thunar-volman
unzip
zip
gnutar
p7zip
];
};
}