2024-05-18 21:20:50 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-05-20 21:15:16 +02:00
|
|
|
cfg = config.myConfig.programs;
|
2024-05-18 21:20:50 +02:00
|
|
|
in {
|
|
|
|
imports = [./foot.nix ./thunderbird.nix ./nextcloud.nix ./udiskie.nix];
|
|
|
|
|
2024-05-20 21:15:16 +02:00
|
|
|
options.myConfig.programs = {
|
|
|
|
enable = lib.mkEnableOption "programs for desktop use";
|
2024-05-18 21:20:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2024-05-20 21:15:16 +02:00
|
|
|
myConfig.programs = {
|
|
|
|
foot.enable = lib.mkDefault true;
|
|
|
|
thunderbird.enable = lib.mkDefault true;
|
|
|
|
nextcloud.enable = lib.mkDefault true;
|
|
|
|
udiskie.enable = lib.mkDefault true;
|
|
|
|
};
|
2024-05-18 21:20:50 +02:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
unzip
|
|
|
|
firefox
|
|
|
|
xournalpp
|
|
|
|
prismlauncher
|
|
|
|
steam
|
|
|
|
blender
|
|
|
|
betaflight-configurator
|
|
|
|
loudgain
|
|
|
|
youtube-dl
|
|
|
|
dconf
|
|
|
|
distrobox
|
|
|
|
libqalculate
|
|
|
|
sops
|
|
|
|
pwvucontrol
|
|
|
|
qpwgraph
|
|
|
|
discord
|
|
|
|
libreoffice-fresh
|
|
|
|
mate.caja
|
|
|
|
libsForQt5.okular
|
|
|
|
mpv
|
|
|
|
gimp
|
|
|
|
freecad
|
|
|
|
flatpak
|
|
|
|
wine
|
|
|
|
unstable.gyroflow
|
|
|
|
prusa-slicer
|
|
|
|
];
|
|
|
|
};
|
2024-05-18 13:45:54 +02:00
|
|
|
}
|