From 8d5e5959e1e432c8e36efec1a88840d214a18be0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 2 Nov 2026 15:05:07 +0100 Subject: treewide: Use `extra_modules` to import dependency modules --- hosts/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'hosts/default.nix') diff --git a/hosts/default.nix b/hosts/default.nix index 4a3d52fc..4f5d2982 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -2,7 +2,6 @@ self, extra_lib, module_args, - extra_modules, special_args, nixpkgs-stable, nixpkgs-unstable, @@ -24,17 +23,15 @@ in nixpkgs.lib.nixosSystem { specialArgs = special_args; - modules = - extra_modules - ++ [ - { - _module.args = module_args; - } - path + modules = [ + { + _module.args = module_args; + } + path - ../modules - # ../modules/common - ]; + ../modules + # ../modules/common + ]; }; mkDeployHost = name: path: let host_file = builtins.fromTOML (builtins.readFile path + "/host.toml"); -- cgit v1.3.1