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; [ environment.systemPackages = with pkgs; [
komikku komikku
inkscape
]; ];
services.flatpak = { services.flatpak = {

View File

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

View File

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

View File

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

View File

@ -5,5 +5,6 @@
./obsidian.nix ./obsidian.nix
./kdenlive.nix ./kdenlive.nix
./blender.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
];
};
}