Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions templates/simple/config/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{ inputs, system, ... }:
{
# Import all your configuration modules here
imports = [ ./bufferline.nix ];

nixpkgs.pkgs = import inputs.nixpkgs { inherit system; };
}
3 changes: 1 addition & 2 deletions templates/simple/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
nixvimLib = nixvim.lib.${system};
nixvim' = nixvim.legacyPackages.${system};
nixvimModule = {
inherit pkgs;
module = import ./config; # import the module directly
# You can use `extraSpecialArgs` to pass additional arguments to your module files
extraSpecialArgs = {
# inherit (inputs) foo;
inherit inputs system;
};
};
nvim = nixvim'.makeNixvimWithModule nixvimModule;
Expand Down