profiles/desktop: separate video and documents into separate categories

It has gone too big. Not to mention, photos and audio is also multimedia
technically so it just makes it more confusing.
This commit is contained in:
Gabriel Arazas 2023-03-08 23:46:06 +08:00
parent a74dba676f
commit a2571ad13a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 31 additions and 10 deletions

View File

@ -8,8 +8,9 @@ in {
graphics.enable =
lib.mkEnableOption "installations of graphics-related apps";
audio.enable = lib.mkEnableOption "installations of audio-related apps";
multimedia.enable =
lib.mkEnableOption "installations for opening multimedia files";
video.enable = lib.mkEnableOption "installations of video-related apps";
documents.enable =
lib.mkEnableOption "installations for document-related apps";
};
config = lib.mkIf cfg.enable (lib.mkMerge [
@ -52,16 +53,24 @@ in {
};
})
(lib.mkIf cfg.multimedia.enable {
(lib.mkIf cfg.video.enable {
home.packages = with pkgs; [
brave # The only web browser that gives me money.
dino # Some modern chat client featuring a dinosaur for what could be considered a dinosaur.
foliate # The prettier PDF viewer.
thunderbird # Email checks.
languagetool # You're personal assistant for proper grammar,
vale # Elevate your fanfics to an arguably higher caliber!
ffmpeg # Ah yes, everyman's multimedia swiss army knife.
];
# The one-stop shop for your broadcasting and recording needs. Not to be
# confused with the build service.
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
droidcam-obs
obs-multi-rtmp
obs-gstreamer
obs-pipewire-audio-capture
wlrobs
];
};
# The modern VLC if you have little sense of design.
programs.mpv = {
enable = true;
@ -108,6 +117,17 @@ in {
youtube-quality
];
};
})
(lib.mkIf cfg.documents.enable {
home.packages = with pkgs; [
brave # The only web browser that gives me money.
dino # Some modern chat client featuring a dinosaur for what could be considered a dinosaur.
foliate # The prettier PDF viewer.
thunderbird # Email checks.
languagetool # You're personal assistant for proper grammar,
vale # Elevate your fanfics to an arguably higher caliber!
];
# Some PDF viewer with a penchant for research.
programs.sioyek = {

View File

@ -278,7 +278,8 @@ in
enable = true;
graphics.enable = true;
audio.enable = true;
multimedia.enable = true;
video.enable = true;
documents.enable = true;
};
research.enable = true;
};