add krita and remove resolve from sakotop

This commit is contained in:
Sakooooo 2023-07-26 11:00:48 +03:00
parent 394d395e95
commit b1975c2946
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 17 additions and 2 deletions

View file

@ -38,8 +38,6 @@
};
media = {
gimp.enable = true;
# fixed via local package
resolve.enable = true;
blender.enable = true;
kdenlive.enable = true;
lmms.enable = true;

View file

@ -2,6 +2,7 @@
imports = [
./resolve
./gimp
./krita
./blender
./kdenlive
./lmms

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.media.krita;
in
{
options.modules.desktop.media.krita = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
krita
];
};
}