nixos/bazecor: init

This commit is contained in:
amesgen 2024-11-25 23:28:31 +01:00
parent 94f4b235d8
commit 672b3f8945
No known key found for this signature in database
GPG key ID: 1A89EC203635A13D
3 changed files with 28 additions and 0 deletions

View file

@ -12,6 +12,8 @@
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- [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).

View file

@ -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

View file

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