From b6c4957043cacc30fa4462a589d16d6cadc871ab Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 22 Apr 2024 15:14:22 -0400 Subject: [PATCH] fix(droid): don't use osConfig since it doesn't exist --- common/default.nix | 6 ++++++ common/home/neovim/default.nix | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/default.nix b/common/default.nix index e25fd31..02549d9 100644 --- a/common/default.nix +++ b/common/default.nix @@ -91,6 +91,12 @@ }; } + { + programs.bash.sessionVariables = { + FLAKE = config.environment.variables.FLAKE; + }; + } + nur.hmModules.nur ./home diff --git a/common/home/neovim/default.nix b/common/home/neovim/default.nix index 402bfd4..0dae074 100644 --- a/common/home/neovim/default.nix +++ b/common/home/neovim/default.nix @@ -1,6 +1,5 @@ { config, - osConfig, pkgs, lib, nvim-theme-src, @@ -17,7 +16,7 @@ coc-stylelintplus-flake = coc-stylelintplus.packages.${pkgs.system}.default; nixdPkg = nixd.packages.${pkgs.system}.default; - flakeEnv = osConfig.environment.variables.FLAKE; + flakeEnv = config.programs.bash.sessionVariables.FLAKE; flakeDir = "${removePrefix "/home/${mainUser}/" flakeEnv}"; in { assertions = [