16 lines
297 B
Nix
16 lines
297 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
inherit (lib) mkIf mkOption types;
|
|
in
|
|
{
|
|
options.smayzy.lmms.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "lmms";
|
|
};
|
|
|
|
config = mkIf config.smayzy.lmms.enable {
|
|
environment.systemPackages = with pkgs; [ lmms ];
|
|
};
|
|
}
|