about summary refs log tree commit diff stats
path: root/modules/by-name/di
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 16:44:30 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 16:44:30 +0200
commita76847911c1975bf89e031154c7722d7919ef053 (patch)
tree630a0d1b43a6ed7a27029f1cddb3ada0eb28263f /modules/by-name/di
parentflake: Pack arguments in attribute sets (diff)
downloadnixos-config-a76847911c1975bf89e031154c7722d7919ef053.zip
modules: Import external modules in the module that actually need them
Diffstat (limited to '')
-rw-r--r--modules/by-name/di/disks/module.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/by-name/di/disks/module.nix b/modules/by-name/di/disks/module.nix
index 7d5cb9bf..d88fa3df 100644
--- a/modules/by-name/di/disks/module.nix
+++ b/modules/by-name/di/disks/module.nix
@@ -11,6 +11,7 @@
   config,
   lib,
   pkgs,
+  modules,
   ...
 }: let
   # FIXME: The iso redeploy requires a bigger efi partition  <2024-05-12>
@@ -46,6 +47,10 @@ in {
     };
   };
 
+  imports = [
+    modules.disko.nixosModules.default
+  ];
+
   config = lib.mkIf cfg.enable {
     systemd = lib.recursiveUpdate (import ./hibernate.nix {inherit pkgs;}) (import ./fstrim.nix {inherit pkgs lib cfg;});