From 8338818b7d84541fd37d2a195e845aff575c3d53 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 18 Dec 2024 09:24:23 +0100 Subject: [PATCH] hosts: import local modules by default --- hosts/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 94255dc..3f47ac6 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -3,13 +3,12 @@ mkSystem = args: inputs.nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs lib';}; - modules = args.modules or []; + modules = [../modules] ++ args.modules; }; in { vamos = mkSystem { modules = [ ./vamos - ../modules inputs.nixos-hardware.nixosModules.framework-13-7040-amd ]; }; @@ -17,7 +16,6 @@ in { solaire = mkSystem { modules = [ ./solaire - ../modules ]; };