diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index f037c87f..7e525dd8 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -39,6 +39,7 @@ #resolve.enable = true; blender.enable = true; kdenlive.enable = true; + lmms.enable = true; }; }; hardware = { diff --git a/modules/desktop/media/default.nix b/modules/desktop/media/default.nix index ac92d151..12679238 100644 --- a/modules/desktop/media/default.nix +++ b/modules/desktop/media/default.nix @@ -4,5 +4,6 @@ ./gimp ./blender ./kdenlive + ./lmms ]; } diff --git a/modules/desktop/media/lmms/default.nix b/modules/desktop/media/lmms/default.nix new file mode 100644 index 00000000..50900522 --- /dev/null +++ b/modules/desktop/media/lmms/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.lmms; +in +{ + options.modules.desktop.media.lmms = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + lmms + ]; + }; +}