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
|
||||
{ inputs, ... }: {
|
||||
imports = [
|
||||
inputs.nixy.inputs.nvf.homeManagerModules.default
|
||||
inputs.nixy.homeManagerModules.nvim
|
||||
];
|
||||
imports = [ 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
|
||||
|
||||
| File | Description |
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.nvf.homeManagerModules.default];
|
||||
|
||||
{pkgs, ...}: {
|
||||
# Packages needed by snacks image preview
|
||||
home.packages = with pkgs; [
|
||||
imagemagick
|
||||
|
||||
@@ -29,7 +29,9 @@ in {
|
||||
};
|
||||
|
||||
homeManagerModules.nvim = {
|
||||
_module.args.inputs = inputs;
|
||||
imports = [./default.nix];
|
||||
imports = [
|
||||
inputs.nvf.homeManagerModules.default
|
||||
./default.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user