23 lines
No EOL
488 B
Nix
23 lines
No EOL
488 B
Nix
{ 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
|
|
];
|
|
};
|
|
} |