summaryrefslogtreecommitdiffstats
path: root/2configs/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-03-12 20:33:08 +0100
committermakefu <github@syntax-fehler.de>2021-03-12 20:33:08 +0100
commita2aa1c6eaa08da0c312284c5f19770c25f16de16 (patch)
treee0e364fdab7d53f0d46cc827fcf515ccfb5fdc5b /2configs/hw
parente23227fb31c4e68c89aa467b34a7cd24bde4028d (diff)
ma hw/xmm7360: init
Diffstat (limited to '2configs/hw')
-rw-r--r--2configs/hw/xmm7360.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/2configs/hw/xmm7360.nix b/2configs/hw/xmm7360.nix
new file mode 100644
index 000000000..951dcaa0b
--- /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 ];
+}