mv inkscape to module

This commit is contained in:
smayzy
2025-07-17 16:20:05 +02:00
parent 904e582cc8
commit a99c4b33a3
6 changed files with 20 additions and 2 deletions
+1
View File
@@ -31,6 +31,7 @@ in
kdenlive.enable = true;
thunderbird.enable = true;
blender.enable = true;
inkscape.enable = true;
};
};
}
+1
View File
@@ -30,6 +30,7 @@ in
obsidian.enable = true;
kdenlive.enable = true;
thunderbird.enable = true;
inkscape.enable = true;
};
services.logind.lidSwitch = "ignore";
};
+1
View File
@@ -5,5 +5,6 @@
./obsidian.nix
./kdenlive.nix
./blender.nix
./inkscape.nic
];
}
+17
View File
@@ -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
];
};
}