mv inkscape to module
This commit is contained in:
@@ -31,6 +31,7 @@ in
|
||||
kdenlive.enable = true;
|
||||
thunderbird.enable = true;
|
||||
blender.enable = true;
|
||||
inkscape.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ in
|
||||
obsidian.enable = true;
|
||||
kdenlive.enable = true;
|
||||
thunderbird.enable = true;
|
||||
inkscape.enable = true;
|
||||
};
|
||||
services.logind.lidSwitch = "ignore";
|
||||
};
|
||||
|
||||
@@ -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