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

View File

@ -41,7 +41,6 @@
environment.systemPackages = with pkgs; [
komikku
inkscape
];
services.flatpak = {

View File

@ -32,7 +32,6 @@
floorp
komikku
librewolf
inkscape
];
services.flatpak = {

View File

@ -31,6 +31,7 @@ in
kdenlive.enable = true;
thunderbird.enable = true;
blender.enable = true;
inkscape.enable = true;
};
};
}

View File

@ -30,6 +30,7 @@ in
obsidian.enable = true;
kdenlive.enable = true;
thunderbird.enable = true;
inkscape.enable = true;
};
services.logind.lidSwitch = "ignore";
};

View File

@ -5,5 +5,6 @@
./obsidian.nix
./kdenlive.nix
./blender.nix
./inkscape.nic
];
}

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
];
};
}