fix(nvim): conflict with using global packages
Now it is an error to override the pkgs if global packages are being used.
This commit is contained in:
parent
440bf3cbf8
commit
7963190ef1
4 changed files with 11 additions and 30 deletions
|
@ -2,17 +2,12 @@
|
|||
{
|
||||
flake.nixosModules =
|
||||
let
|
||||
nvim-config =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
(import ../nvim {
|
||||
inherit (inputs) unstable;
|
||||
inherit (pkgs) system;
|
||||
})
|
||||
];
|
||||
};
|
||||
nvim-config = {
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
../nvim
|
||||
];
|
||||
};
|
||||
homeManagerModuleSandalone = import ../home {
|
||||
inherit nvim-config;
|
||||
inherit (inputs) stylix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue