[Desktop] Refactor config in smaller files

This commit is contained in:
Antoine Viallon 2022-11-09 17:28:43 +01:00
parent 16073bf6fb
commit 773c7844bc
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
4 changed files with 84 additions and 21 deletions

15
desktop/multimedia.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.aviallon.desktop;
in {
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
ffmpeg-full
krita
obs-studio
scribus
yt-dlp
];
};
}