home: install keepassxc as a common desktop application

Create new package category "desktopCommon" that is enabled by default on all home hosts, useful for getting GUI packages across platforms.
mainline
Trolli Schmittlauch 2024-04-07 01:31:11 +02:00
parent 6f87071aea
commit 4976cea39d
2 changed files with 12 additions and 5 deletions

View File

@ -17,7 +17,7 @@
devTools = true;
pythonTools = true;
games = true;
desktop = true;
desktopLinux = true;
kde = true;
};
latex.guiTools = true;

View File

@ -138,7 +138,9 @@ let
#hedgewars
];
desktopApps = [
desktopCommon = [ keepassxc ];
desktopLinux = [
firefox
chromium
falkon
@ -146,7 +148,6 @@ let
calibre
dino
zotero
keepassxc
ding
aspell
aspellDicts.de
@ -234,7 +235,12 @@ in
devTools = lib.mkEnableOption "Enable a common set of dev tools";
pythonTools = lib.mkEnableOption "Enable a common set of python tools";
games = lib.mkEnableOption "Enable some games";
desktop = lib.mkEnableOption "Enable a common set of desktop applications";
desktopCommon = lib.mkOption {
description = "GUI desktop applications that work cross-platform and cross-desktop";
type = lib.types.bool;
default = true;
};
desktopLinux = lib.mkEnableOption "Enable a common set of desktop applications";
kde = lib.mkEnableOption "Enable a common set of KDE applications";
};
config = {
@ -246,7 +252,8 @@ in
++ (lib.optional cfg.devTools devTools)
++ (lib.optional cfg.pythonTools pythonTools)
++ (lib.optional cfg.games games)
++ (lib.optional cfg.desktop desktopApps)
++ (lib.optional cfg.desktopCommon desktopCommon)
++ (lib.optional cfg.desktopLinux desktopLinux)
++ (lib.optional cfg.kde kdeTools)
);