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.
This commit is contained in:
parent
6f87071aea
commit
4976cea39d
|
@ -17,7 +17,7 @@
|
|||
devTools = true;
|
||||
pythonTools = true;
|
||||
games = true;
|
||||
desktop = true;
|
||||
desktopLinux = true;
|
||||
kde = true;
|
||||
};
|
||||
latex.guiTools = true;
|
||||
|
|
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue