From 540ba81e5c4c3c13c4b17eec91b8516e69d6b20d Mon Sep 17 00:00:00 2001 From: encode42 Date: Wed, 3 Dec 2025 01:14:57 -0500 Subject: [PATCH] Add optical media peripheral --- hardware/peripherals/optical.nix | 3 +++ hosts/index/default.nix | 1 + 2 files changed, 4 insertions(+) create mode 100644 hardware/peripherals/optical.nix diff --git a/hardware/peripherals/optical.nix b/hardware/peripherals/optical.nix new file mode 100644 index 0000000..23b6eb9 --- /dev/null +++ b/hardware/peripherals/optical.nix @@ -0,0 +1,3 @@ +{ + boot.kernelModules = [ "sg" ]; +} diff --git a/hosts/index/default.nix b/hosts/index/default.nix index cf9205b..69bccc1 100644 --- a/hosts/index/default.nix +++ b/hosts/index/default.nix @@ -11,6 +11,7 @@ ./hardware-configuration.nix (flakeRoot + /hardware/cpu/amd.nix) (flakeRoot + /hardware/gpu/amd.nix) + (flakeRoot + /hardware/peripherals/optical.nix) (flakeRoot + /modules/common) (flakeRoot + /modules/common/boot/systemd-boot.nix) -- 2.51.2