Add all of iogamaster modules
This commit is contained in:
36
modules/nixos/suites/editing/default.nix
Normal file
36
modules/nixos/suites/editing/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul; let
|
||||
cfg = config.suites.editing;
|
||||
in {
|
||||
options.suites.editing = with types; {
|
||||
enable = mkBoolOpt false "Enable the editing suite";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
obs-studio
|
||||
audacity
|
||||
chromium
|
||||
inkscape
|
||||
mediainfo
|
||||
vhs
|
||||
];
|
||||
|
||||
# OBS
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
boot.kernelModules = [
|
||||
"v4l2loopback"
|
||||
];
|
||||
|
||||
home.persist.directories = [
|
||||
".config/obs-studio"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user