add lmms module
Some checks failed
nixos config pipeline / show-flake (push) Successful in 26s
nixos config pipeline / deploy (push) Has been cancelled

This commit is contained in:
smayzy 2025-11-23 13:35:49 +01:00
parent 9b6de54e34
commit fec12375cf
3 changed files with 16 additions and 1 deletions

1
TODO
View File

@ -1 +0,0 @@
add lmms when it's working upstream

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./pipewire.nix ./pipewire.nix
./lmms.nix
]; ];
} }

View 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 ];
};
}