feat(home:creative): add initial inkscape configuration module
This commit is contained in:
parent
34103931a1
commit
08f82791ed
3 changed files with 20 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./audio
|
||||
./image
|
||||
# ./video
|
||||
# ./image
|
||||
];
|
||||
}
|
||||
|
|
|
|||
5
home/modules/desktop/creative/image/default.nix
Normal file
5
home/modules/desktop/creative/image/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./inkscape
|
||||
];
|
||||
}
|
||||
14
home/modules/desktop/creative/image/inkscape/default.nix
Normal file
14
home/modules/desktop/creative/image/inkscape/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue