add da vin ci resolve and gimp
This commit is contained in:
parent
1768c3349a
commit
f8f2dab5cd
5 changed files with 43 additions and 0 deletions
|
@ -33,6 +33,10 @@
|
|||
lutris.enable = true;
|
||||
steam.enable = true;
|
||||
};
|
||||
media = {
|
||||
gimp.enable = true;
|
||||
resolve.enable = true;
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
nvidia.enable = true;
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
./apps
|
||||
./game
|
||||
./chat
|
||||
./media
|
||||
];
|
||||
}
|
||||
|
|
6
modules/desktop/media/default.nix
Normal file
6
modules/desktop/media/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./resolve
|
||||
./gimp
|
||||
];
|
||||
}
|
16
modules/desktop/media/gimp/default.nix
Normal file
16
modules/desktop/media/gimp/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
16
modules/desktop/media/resolve/default.nix
Normal file
16
modules/desktop/media/resolve/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue