diff --git a/hosts/desktop1/configuration.nix b/hosts/desktop1/configuration.nix index 3d9e0d6..9ee697e 100644 --- a/hosts/desktop1/configuration.nix +++ b/hosts/desktop1/configuration.nix @@ -41,7 +41,6 @@ environment.systemPackages = with pkgs; [ komikku - inkscape ]; services.flatpak = { diff --git a/hosts/laptop1/configuration.nix b/hosts/laptop1/configuration.nix index 0c47213..dc2b30f 100644 --- a/hosts/laptop1/configuration.nix +++ b/hosts/laptop1/configuration.nix @@ -32,7 +32,6 @@ floorp komikku librewolf - inkscape ]; services.flatpak = { diff --git a/modules/nix/groups/desktop.nix b/modules/nix/groups/desktop.nix index 29a40c5..b579c16 100644 --- a/modules/nix/groups/desktop.nix +++ b/modules/nix/groups/desktop.nix @@ -31,6 +31,7 @@ in kdenlive.enable = true; thunderbird.enable = true; blender.enable = true; + inkscape.enable = true; }; }; } diff --git a/modules/nix/groups/laptop.nix b/modules/nix/groups/laptop.nix index 0edd336..3824968 100644 --- a/modules/nix/groups/laptop.nix +++ b/modules/nix/groups/laptop.nix @@ -30,6 +30,7 @@ in obsidian.enable = true; kdenlive.enable = true; thunderbird.enable = true; + inkscape.enable = true; }; services.logind.lidSwitch = "ignore"; }; diff --git a/modules/nix/office/default.nix b/modules/nix/office/default.nix index b70ad8e..bc386e1 100644 --- a/modules/nix/office/default.nix +++ b/modules/nix/office/default.nix @@ -5,5 +5,6 @@ ./obsidian.nix ./kdenlive.nix ./blender.nix + ./inkscape.nic ]; } diff --git a/modules/nix/office/inkscape.nix b/modules/nix/office/inkscape.nix new file mode 100644 index 0000000..1e68d37 --- /dev/null +++ b/modules/nix/office/inkscape.nix @@ -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 + ]; + }; +}