From 8a272143ee5e862a41ebb7b376bf59055397fac6 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 21 Aug 2024 13:11:35 -0500 Subject: [PATCH] modules/opts: move options to top of init.lua Using mkOrder to ensure the options can be accessible to everything throughout the config. Setting right below global table available, so variables can reference stuff inside global table. --- modules/opts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/opts.nix b/modules/opts.nix index 959d629f..e1472254 100644 --- a/modules/opts.nix +++ b/modules/opts.nix @@ -84,6 +84,6 @@ in ) optionsAttrs ); in - mkIf (content != "") content; + mkIf (content != "") (mkOrder 600 content); # Move options to top of file below global table }; }