tv br: use modulesPath

This commit is contained in:
tv 2023-01-15 16:02:32 +01:00
parent 29bbb02a42
commit 0a3ad1b7c3

View File

@ -1,8 +1,8 @@
with import ./lib; with import ./lib;
{ config, pkgs, ... }: { { config, modulesPath, pkgs, ... }: {
imports = [ imports = [
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix> (modulesPath + "/services/hardware/sane_extra_backends/brscan4.nix")
]; ];
krebs.nixpkgs.allowUnfreePredicate = pkg: any (eq (packageName pkg)) [ krebs.nixpkgs.allowUnfreePredicate = pkg: any (eq (packageName pkg)) [