about summary refs log tree commit diff stats
path: root/flake/packages
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-26 22:10:29 +0200
committerSoispha <soispha@vhack.eu>2023-08-26 22:56:04 +0200
commitaf387e5c995afe33edf7295545a9486bf81f5bf3 (patch)
tree82efb9281db121aa8b040afddda7ebd6c6d0f3d3 /flake/packages
parentFeat(.editorconfig): Add lua config (diff)
downloadnixos-config-af387e5c995afe33edf7295545a9486bf81f5bf3.tar.gz
nixos-config-af387e5c995afe33edf7295545a9486bf81f5bf3.zip
Fix(flake): Expose home-manager config to nvim config
Diffstat (limited to 'flake/packages')
-rw-r--r--flake/packages/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index 74f962ce..3f69bc89 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -22,7 +22,12 @@
         nvim_config =
           import ../../home-manager/soispha/config/neovim/nixvim/default.nix
           args;
-        build_args = args // {nixosConfig = value.config;};
+        build_args =
+          args
+          // {
+            nixosConfig = value.config;
+            config = value.config.home-manager.users.soispha;
+          };
 
         merge_attrs = list_of_attrs: builtins.foldl' (x: y: merge [x y]) {} list_of_attrs;
         resolve_imports = attrs: