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

View file

@ -2,13 +2,14 @@
imports = [
../home-manager/default.nix
../modules/avahi.nix
../modules/docker.nix
../modules/earlyoom.nix
../modules/fonts.nix
../modules/opengl.nix
../modules/pam.nix
../modules/sound.nix
../modules/ssh.nix
../modules/docker.nix
../modules/via.nix
../modules/virtualbox.nix
../secrets/remote-builder.nix
../users/fleaz.nix