mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
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:
parent
a74dba676f
commit
a2571ad13a
@ -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 = {
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user