From 4d4beefd5d72b25384dfd930793611405a5497b5 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 22 Sep 2023 15:19:08 +0900 Subject: feat(home): split multimedia to creative --- home/profiles/creative/default.nix | 17 +++++++++++++++++ home/profiles/multimedia/default.nix | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 home/profiles/creative/default.nix (limited to 'home/profiles') diff --git a/home/profiles/creative/default.nix b/home/profiles/creative/default.nix new file mode 100644 index 0000000..9369659 --- /dev/null +++ b/home/profiles/creative/default.nix @@ -0,0 +1,17 @@ +{ config, lib, pkgs, ... }: +let cfg = config.profiles.creative; +in +{ + imports = [ + ../../modules/programs/nixpkgs + ]; + + options.profiles.creative = { + enable = lib.mkEnableOption + "A profile that enables the system to be used for creating multimedia contents."; + }; + + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ inkscape krita kdenlive ]; + }; +} diff --git a/home/profiles/multimedia/default.nix b/home/profiles/multimedia/default.nix index 189112e..8a68546 100644 --- a/home/profiles/multimedia/default.nix +++ b/home/profiles/multimedia/default.nix @@ -8,10 +8,10 @@ in options.profiles.multimedia = { enable = lib.mkEnableOption - "A profile that enables the system to be used for consuming/creating multimedia contents."; + "A profile that enables the system to be used for consuming multimedia contents."; }; config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ playerctl inkscape krita kdenlive ]; + home.packages = with pkgs; [ playerctl ]; }; } -- cgit 1.4.1