mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
24 lines
432 B
Nix
24 lines
432 B
Nix
|
|
{ lib, pkgs, config, username, home-manager, ... }:
|
||
|
|
with lib;
|
||
|
|
let
|
||
|
|
cfg = config.liv.creative;
|
||
|
|
in {
|
||
|
|
options.liv.creative = {
|
||
|
|
enable = mkEnableOption "Enable creative workflow";
|
||
|
|
};
|
||
|
|
|
||
|
|
config = mkIf cfg.enable {
|
||
|
|
home-manager = {
|
||
|
|
users.${username} = {
|
||
|
|
home.packages = with pkgs; [
|
||
|
|
gimp
|
||
|
|
darktable
|
||
|
|
audacity
|
||
|
|
obs-studio
|
||
|
|
kdenlive
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|