diff options
author | sefidel <contact@sefidel.net> | 2023-09-22 15:19:08 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-22 15:19:08 +0900 |
commit | 4d4beefd5d72b25384dfd930793611405a5497b5 (patch) | |
tree | bc9f5fc118d80c9ab3231a724dea1a3388768401 /home/profiles | |
parent | 073ac6542e1ea2c4349478b82730b20a2936fcdf (diff) | |
download | nixrc-4d4beefd5d72b25384dfd930793611405a5497b5.tar.gz nixrc-4d4beefd5d72b25384dfd930793611405a5497b5.zip |
feat(home): split multimedia to creative
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/creative/default.nix | 17 | ||||
-rw-r--r-- | home/profiles/multimedia/default.nix | 4 |
2 files changed, 19 insertions, 2 deletions
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 ]; }; } |