enable udev roles for via

This commit is contained in:
fleaz 2022-03-07 14:28:42 +01:00
parent 083e434dac
commit 53574aa386
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 11 additions and 1 deletions

9
modules/via.nix Normal file
View file

@ -0,0 +1,9 @@
{pkgs,lib, ...}:{
# Allow via to be used ( it has an unfree license )
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "via" ];
# Load udev Rules for via
services.udev.packages = [ pkgs.via ];
}