add lmms module
This commit is contained in:
parent
9b6de54e34
commit
fec12375cf
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
./lmms.nix
|
||||
];
|
||||
}
|
||||
|
||||
15
modules/nix/audio/lmms.nix
Normal file
15
modules/nix/audio/lmms.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user