diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 0db6aded4ea9..f6d2af36657c 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -12,6 +12,8 @@ +- [Bazecor](https://github.com/Dygmalab/Bazecor), the graphical configurator for Dygma Products. + - [Kimai](https://www.kimai.org/), a web-based multi-user time-tracking application. Available as [services.kimai](options.html#opt-services.kimai). - [Omnom](https://github.com/asciimoo/omnom), a webpage bookmarking and snapshotting service. Available as [services.omnom](options.html#opt-services.omnom.enable). diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index eaff9dc318df..c6a77cb471fc 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -160,6 +160,7 @@ ./programs/bash/blesh.nix ./programs/bash/ls-colors.nix ./programs/bash/undistract-me.nix + ./programs/bazecor.nix ./programs/bcc.nix ./programs/benchexec.nix ./programs/browserpass.nix diff --git a/nixos/modules/programs/bazecor.nix b/nixos/modules/programs/bazecor.nix new file mode 100644 index 000000000000..97f7f685d22c --- /dev/null +++ b/nixos/modules/programs/bazecor.nix @@ -0,0 +1,25 @@ +{ + config, + lib, + pkgs, + ... +}: + +let + cfg = config.programs.bazecor; +in +{ + meta.maintainers = with lib.maintainers; [ amesgen ]; + + options = { + programs.bazecor = { + enable = lib.mkEnableOption "Bazecor, the graphical configurator for Dygma Products"; + package = lib.mkPackageOption pkgs "bazecor" { }; + }; + }; + + config = lib.mkIf cfg.enable { + environment.systemPackages = [ cfg.package ]; + services.udev.packages = [ cfg.package ]; + }; +}