Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
20 lines
399 B
Nix
20 lines
399 B
Nix
{ inputs, ... }: {
|
|
flake-file.inputs = {
|
|
nixvim.url = "github:nix-community/nixvim/nixos-25.11";
|
|
nixvim.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
flake.modules.homeManager.nixvim = {
|
|
imports = [
|
|
inputs.nixvim.homeModules.nixvim
|
|
];
|
|
|
|
programs.nixvim = {
|
|
enable = true;
|
|
imports = [ ./_nixvim-config ];
|
|
};
|
|
|
|
home.sessionVariables.EDITOR = "nvim";
|
|
};
|
|
}
|