refactor(modules/hardware): move hardware config to modules

This commit is contained in:
Mohammad Rafiq 2025-05-18 15:35:42 +08:00
parent cb01ba95b0
commit 067e0c9970
7 changed files with 40 additions and 10 deletions

View file

@ -5,6 +5,7 @@ in
{
config = lib.mkIf (cfg.enable) (lib.mkMerge [
{
boot.initrd.kernelModules = [ "dm-snapshot" ];
disko.devices.disk.main = {
device = cfg.drive;
type = "disk";