16 lines
292 B
Nix
16 lines
292 B
Nix
{ 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
|
|
];
|
|
};
|
|
}
|