39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}:
|
|
lib.mkIf config.bchmnn.gui.enable {
|
|
|
|
environment.systemPackages =
|
|
lib.optionals (config.bchmnn.collections.cli-utils.enable) [
|
|
pkgs.libnotify # a library that sends desktop notifications to a notification daemon
|
|
pkgs.xdg-utils # a set of command line tools that assist applications with a variety of desktop integration tasks
|
|
]
|
|
++ lib.optionals (config.bchmnn.collections.development.enable) [
|
|
pkgs.ghidra-bin
|
|
pkgs.mongodb-compass
|
|
]
|
|
++ lib.optionals (lib.elem "sway" config.bchmnn.gui.flavour) [
|
|
pkgs.qt5.qtwayland
|
|
pkgs.qt6.qtwayland
|
|
pkgs.wineWowPackages.waylandFull
|
|
];
|
|
|
|
programs = {
|
|
ausweisapp = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
evolution.enable = !(lib.elem "gnome" config.bchmnn.gui.flavour);
|
|
kdeconnect.enable = true;
|
|
virt-manager.enable = config.bchmnn.collections.virtualisation.enable;
|
|
wireshark.enable = config.bchmnn.collections.development.enable;
|
|
};
|
|
|
|
services.ratbagd.enable = true;
|
|
# needed for udiskie
|
|
services.udisks2.enable = true;
|
|
# enable gvfs to mount android devices
|
|
services.gvfs.enable = true;
|
|
}
|