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/configs/alpha/sefidel.nix | 3 ++- home/configs/haruka/sefidel.nix | 2 +- home/configs/kompakt/sefidel.nix | 2 +- home/default.nix | 2 ++ home/profiles/creative/default.nix | 17 +++++++++++++++++ home/profiles/multimedia/default.nix | 4 ++-- 6 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 home/profiles/creative/default.nix diff --git a/home/configs/alpha/sefidel.nix b/home/configs/alpha/sefidel.nix index 5e4f561..db5e214 100644 --- a/home/configs/alpha/sefidel.nix +++ b/home/configs/alpha/sefidel.nix @@ -2,7 +2,8 @@ { config = { - activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; + activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia + " "creative" "research" ]; programs.htop.settings.detailed_cpu_time = true; diff --git a/home/configs/haruka/sefidel.nix b/home/configs/haruka/sefidel.nix index a96a57c..4293d78 100644 --- a/home/configs/haruka/sefidel.nix +++ b/home/configs/haruka/sefidel.nix @@ -2,7 +2,7 @@ { config = { - activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; + activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "creative" "research" ]; profiles.gui = { laptop.enable = true; diff --git a/home/configs/kompakt/sefidel.nix b/home/configs/kompakt/sefidel.nix index 5e4f561..8974d29 100644 --- a/home/configs/kompakt/sefidel.nix +++ b/home/configs/kompakt/sefidel.nix @@ -2,7 +2,7 @@ { config = { - activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; + activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "creative" "research" ]; programs.htop.settings.detailed_cpu_time = true; diff --git a/home/default.nix b/home/default.nix index 0232476..e8630a2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -15,6 +15,7 @@ ./profiles/development ./profiles/communication ./profiles/multimedia + ./profiles/creative ./profiles/research @@ -37,6 +38,7 @@ ./profiles/development ./profiles/communication ./profiles/multimedia + ./profiles/creative ./profiles/research 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