add da vin ci resolve and gimp

This commit is contained in:
Sakooooo 2023-07-09 20:52:40 +03:00
parent 1768c3349a
commit f8f2dab5cd
Signed by: sako
GPG key ID: 3FD715D87D7725E0
5 changed files with 43 additions and 0 deletions

View file

@ -33,6 +33,10 @@
lutris.enable = true; lutris.enable = true;
steam.enable = true; steam.enable = true;
}; };
media = {
gimp.enable = true;
resolve.enable = true;
};
}; };
hardware = { hardware = {
nvidia.enable = true; nvidia.enable = true;

View file

@ -6,5 +6,6 @@
./apps ./apps
./game ./game
./chat ./chat
./media
]; ];
} }

View file

@ -0,0 +1,6 @@
{
imports = [
./resolve
./gimp
];
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.media.gimp;
in
{
options.modules.desktop.media.gimp = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
gimp
];
};
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.media.resolve;
in
{
options.modules.desktop.media.resolve = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
davinci-resolve
];
};
}