Major config overhaul: use custom modules, setup for multi-host config, and less boilerplate
This commit is contained in:
20
modules/user/recording/default.nix
Normal file
20
modules/user/recording/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.recording;
|
||||
in {
|
||||
options = {
|
||||
userSettings.recording = {
|
||||
enable = lib.mkEnableOption "Enable studio recording and editing programs";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
obs-studio
|
||||
kdenlive
|
||||
tenacity
|
||||
ardour
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user