feat(home:creative): add initial inkscape configuration module

This commit is contained in:
ooks-io 2024-04-16 23:24:00 +12:00
parent 34103931a1
commit 08f82791ed
3 changed files with 20 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
imports = [
./audio
./image
# ./video
# ./image
];
}

View file

@ -0,0 +1,5 @@
{
imports = [
./inkscape
];
}

View file

@ -0,0 +1,14 @@
{ lib, config, pkgs, ... }:
let
cfg = config.homeModules.desktop.creative.audio.inkscape;
inherit (lib) mkIf mkEnableOption;
in
{
options.homeModules.desktop.creative.audio.inkscape.enable = mkEnableOption "Enable inkscape home module";
config = mkIf cfg.enable {
home.packages = [ pkgs.inkscape-with-extensions ];
};
}