mv inkscape to module
This commit is contained in:
1 parent
904e582cc8
commit
a99c4b33a3
6 files changed
+20
-2
No files matched your search
@@ -5,5 +5,6 @@
|
||||
./obsidian.nix
|
||||
./kdenlive.nix
|
||||
./blender.nix
|
||||
./inkscape.nic
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.inkscape.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "inkscape";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.inkscape.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
inkscape
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user