From 099cbcf13e8219f07b493980a66fe64df0e32d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Wed, 29 Sep 2021 09:14:05 +0200 Subject: [PATCH] nixos: add modulesPath to specialArgs Fixes #1792 --- nixos/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/default.nix b/nixos/default.nix index dc45c989..ef51ac28 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -12,6 +12,7 @@ let specialArgs = { lib = extendedLib; nixosConfig = config; + modulesPath = ../modules; } // cfg.extraSpecialArgs; modules = [ ({ name, ... }: { @@ -72,7 +73,6 @@ in { extraSpecialArgs = mkOption { type = types.attrs; default = { }; - example = literalExample "{ modulesPath = ../modules; }"; description = '' Extra specialArgs passed to Home Manager. '';