mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds creative role
This commit is contained in:
parent
05d1af376e
commit
ac991e3860
1 changed files with 23 additions and 0 deletions
23
roles/creative.nix
Normal file
23
roles/creative.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue