nix/modules/stuff/other-desktop-programs.nix

23 lines
488 B
Nix
Raw Normal View History

2024-08-01 21:22:47 +02:00
{ lib, pkgs, config, ...}: let
inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.chuj.stuff.other-desktop-programs;
user = config.chuj.system.user;
in {
options.chuj.stuff.other-desktop-programs = {
enable = mkEnableOption "other-desktop-programs";
};
config = mkIf cfg.enable {
home-manager.users.${user}.home.packages = with pkgs; [
pavucontrol
element-desktop
discord
libreoffice-qt
gimp
vlc
qimgv
];
};
}