nixos-config/modules/via.nix
2022-03-07 14:28:42 +01:00

10 lines
234 B
Nix

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