summaryrefslogtreecommitdiffstats
path: root/makefu
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
commit281fd57f5b29318f2d8dab86c3312b2e5ed16151 (patch)
treed2108c0781bd655976633cffcf9b29ff4c3f4a02 /makefu
parent46c9132c5a0b94427bee5ad8bf7d41f421d0208d (diff)
ma hw/xmm7360: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/hw/xmm7360.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/2configs/hw/xmm7360.nix b/makefu/2configs/hw/xmm7360.nix
new file mode 100644
index 000000000..951dcaa0b
--- /dev/null
+++ b/makefu/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 ];
+}