mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
nixos/bazecor: init
This commit is contained in:
parent
94f4b235d8
commit
672b3f8945
3 changed files with 28 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- 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).
|
- [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).
|
- [Omnom](https://github.com/asciimoo/omnom), a webpage bookmarking and snapshotting service. Available as [services.omnom](options.html#opt-services.omnom.enable).
|
||||||
|
|
|
@ -160,6 +160,7 @@
|
||||||
./programs/bash/blesh.nix
|
./programs/bash/blesh.nix
|
||||||
./programs/bash/ls-colors.nix
|
./programs/bash/ls-colors.nix
|
||||||
./programs/bash/undistract-me.nix
|
./programs/bash/undistract-me.nix
|
||||||
|
./programs/bazecor.nix
|
||||||
./programs/bcc.nix
|
./programs/bcc.nix
|
||||||
./programs/benchexec.nix
|
./programs/benchexec.nix
|
||||||
./programs/browserpass.nix
|
./programs/browserpass.nix
|
||||||
|
|
25
nixos/modules/programs/bazecor.nix
Normal file
25
nixos/modules/programs/bazecor.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue