I say I'll learn to play piano...

This commit is contained in:
Danilo Reyes 2025-03-08 22:49:50 -06:00
parent dd65a03d69
commit cd0f96ee6e
2 changed files with 19 additions and 0 deletions

View File

@ -3,6 +3,7 @@
emacs.enable = true;
apps = {
art.enable = true;
piano.enable = true;
dictionaries.enable = true;
fonts.enable = true;
gaming.enable = true;

18
modules/apps/music.nix Normal file
View File

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
{
options.my.apps.piano.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.apps.piano.enable {
users.users.jawz.packages = builtins.attrValues {
inherit (pkgs)
neothesia
linthesia
timidity
;
};
};
}