nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/pulseview: init module

Pulseview needs the libsigrok udev rules to be installed, this module
removes the need for the enduser to think about this dependency.

Nydragon 69ca85cc cea14594

+29
+1
nixos/modules/module-list.nix
··· 265 265 ./programs/pqos-wrapper.nix 266 266 ./programs/projecteur.nix 267 267 ./programs/proxychains.nix 268 + ./programs/pulseview.nix 268 269 ./programs/qdmr.nix 269 270 ./programs/qgroundcontrol.nix 270 271 ./programs/qt5ct.nix
+28
nixos/modules/programs/pulseview.nix
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: 7 + 8 + let 9 + cfg = config.programs.pulseview; 10 + in 11 + { 12 + options.programs.pulseview = { 13 + enable = lib.mkEnableOption "pulseview, a sigrok GUI"; 14 + }; 15 + 16 + config = lib.mkIf cfg.enable { 17 + environment.systemPackages = [ 18 + pkgs.pulseview 19 + ]; 20 + 21 + services.udev = { 22 + packages = [ 23 + # Pulseview needs some udev rules provided by libsigrok to access devices 24 + pkgs.libsigrok 25 + ]; 26 + }; 27 + }; 28 + }