mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 05:12:34 +02:00
+1
-7
@@ -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,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
|
||||||
|
|||||||
@@ -29,7 +29,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
homeManagerModules.nvim = {
|
homeManagerModules.nvim = {
|
||||||
_module.args.inputs = inputs;
|
imports = [
|
||||||
imports = [./default.nix];
|
inputs.nvf.homeManagerModules.default
|
||||||
|
./default.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user