2023-07-09 21:52:40 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.media.resolve;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.desktop.media.resolve = {
|
2024-08-01 16:24:09 +04:00
|
|
|
enable = lib.mkEnableOption false;
|
2023-07-09 21:52:40 +04:00
|
|
|
};
|
|
|
|
|
2024-08-01 16:24:09 +04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2023-07-09 21:52:40 +04:00
|
|
|
users.users.sako.packages = with pkgs; [
|
2024-08-20 18:39:55 +04:00
|
|
|
davinci-resolve
|
2023-07-09 21:52:40 +04:00
|
|
|
];
|
2023-07-09 21:55:55 +04:00
|
|
|
|
2024-08-20 18:39:55 +04:00
|
|
|
# nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
# "python-2.7.18.6"
|
|
|
|
# ];
|
2023-07-09 21:52:40 +04:00
|
|
|
};
|
|
|
|
}
|