repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
grafana-alloy: don't build the frontend twice
[NixPkgs.git]
/
nixos
/
modules
/
hardware
/
ledger.nix
blob
8510c97c5e3891ab9a3313e8bdc4cced203785a4
1
{ config, lib, pkgs, ... }:
2
let
3
cfg = config.hardware.ledger;
4
5
in {
6
options.hardware.ledger.enable = lib.mkEnableOption "udev rules for Ledger devices";
7
8
config = lib.mkIf cfg.enable {
9
services.udev.packages = [ pkgs.ledger-udev-rules ];
10
};
11
}