change nvf flake.nix

Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-04-28 14:34:00 +02:00
parent f6d056deb3
commit 3478a9a0a5
3 changed files with 6 additions and 16 deletions
+1 -7
View File
@@ -23,16 +23,10 @@ Then import the home-manager module in your home configuration:
```nix ```nix
{ inputs, ... }: { { inputs, ... }: {
imports = [ imports = [ inputs.nixy.homeManagerModules.nvim ];
inputs.nixy.inputs.nvf.homeManagerModules.default
inputs.nixy.homeManagerModules.nvim
];
} }
``` ```
> [!NOTE]
> The `nvf` home-manager module is required. It is re-exported via `inputs.nixy.inputs.nvf` so you don't need to declare it separately in your own flake.
## What's included ## What's included
| File | Description | | File | Description |
+1 -7
View File
@@ -1,10 +1,4 @@
{ {pkgs, ...}: {
inputs,
pkgs,
...
}: {
imports = [inputs.nvf.homeManagerModules.default];
# Packages needed by snacks image preview # Packages needed by snacks image preview
home.packages = with pkgs; [ home.packages = with pkgs; [
imagemagick imagemagick
+4 -2
View File
@@ -29,7 +29,9 @@ in {
}; };
homeManagerModules.nvim = { homeManagerModules.nvim = {
_module.args.inputs = inputs; imports = [
imports = [./default.nix]; inputs.nvf.homeManagerModules.default
./default.nix
];
}; };
} }