From a2aa1c6eaa08da0c312284c5f19770c25f16de16 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 Mar 2021 20:33:08 +0100 Subject: [PATCH] ma hw/xmm7360: init --- 2configs/hw/xmm7360.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2configs/hw/xmm7360.nix diff --git a/2configs/hw/xmm7360.nix b/2configs/hw/xmm7360.nix new file mode 100644 index 0000000..951dcaa --- /dev/null +++ b/2configs/hw/xmm7360.nix @@ -0,0 +1,11 @@ +{ pkgs, config, ... }: +let + pkg = (pkgs.callPackage ../../5pkgs/xmm7360 { kernel = config.boot.kernelPackages.kernel; }); +in +{ + boot.extraModulePackages = [ + pkg + ]; + boot.initrd.availableKernelModules = [ "xmm7360" ]; + users.users.makefu.packages = [ pkg ]; +}