2025-02-13 10:35:17 -08:00
|
|
|
# nixvim-config
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Add the following to the `inputs` section of your flake.nix:
|
|
|
|
|
|
|
|
```nix
|
2025-02-13 11:40:42 -08:00
|
|
|
inputs = {
|
|
|
|
nixvim-config.url = "github:homefree/nixvim-config";
|
|
|
|
};
|
2025-02-13 10:35:17 -08:00
|
|
|
```
|
|
|
|
|
2025-02-13 11:40:42 -08:00
|
|
|
And add the following to the outputs:
|
2025-02-13 10:35:17 -08:00
|
|
|
|
|
|
|
```nix
|
2025-02-13 11:40:42 -08:00
|
|
|
outputs = { ... }@inputs: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
<hostname> = inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [
|
|
|
|
inputs.nixvim-config.nixosModules.default
|
|
|
|
{
|
|
|
|
nixvim-config.enable = true;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
2025-02-13 10:35:17 -08:00
|
|
|
```
|