diff --git a/hosts/othalan/default.nix b/hosts/othalan/default.nix index a856010..248432c 100644 --- a/hosts/othalan/default.nix +++ b/hosts/othalan/default.nix @@ -1,10 +1,17 @@ { + lib, enabled, enableAttrs, listify, config, ... }: + +let + inherit (lib.strings) hasPrefix splitString; + inherit (builtins) readFile filter; + readLanguageSettings = f: f |> readFile |> splitString "\n" |> filter (line: !(hasPrefix "#" line)); +in { oizys = @@ -12,7 +19,8 @@ nix-ld = enabled // { overkill = enabled; }; - languages = "misc|nim|node|nushell|python|tex|typst" |> listify; + languages = readLanguageSettings ./settings/languages; + # languages = "misc|nim|node|nushell|python|tex|typst" |> listify; } // ( '' diff --git a/hosts/othalan/settings/languages b/hosts/othalan/settings/languages new file mode 100644 index 0000000..b490acb --- /dev/null +++ b/hosts/othalan/settings/languages @@ -0,0 +1,7 @@ +misc +nim +node +nushell +python +tex +typst