readme for mods
This commit is contained in:
parent
fe4874dd06
commit
ec80ee3f29
23
README.md
23
README.md
@ -14,3 +14,26 @@ To build ivand home:
|
||||
home-manager switch --flake github:ivandimitrov8080/nix-config#ivand
|
||||
```
|
||||
|
||||
To reuse modules:
|
||||
|
||||
in your flake.nix:
|
||||
```nix
|
||||
inputs.ivan-mods = {
|
||||
url = "github:ivandimitrov8080/nix-config";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
outputs = {self, nixpkgs, ivan-mods, ...}:{
|
||||
...
|
||||
homeConfigurations = {
|
||||
my-user = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = with ivan-mods.modules.home; [
|
||||
programs.nvim
|
||||
programs.zsh
|
||||
];
|
||||
};
|
||||
};
|
||||
...
|
||||
};
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user