Skip to content

Commit

Permalink
Add documentation on home-manager Modules (nix-community#98)
Browse files Browse the repository at this point in the history
Co-Authored-By: Robert Helgesson <[email protected]>
  • Loading branch information
2 people authored and Mic92 committed Aug 20, 2019
1 parent 14e5a7c commit e7bb23a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,31 @@ in {
}
```

### Integrating with Home Manager

Integrating with [Home Manager](https://github.com/rycee/home-manager) can be done by adding your modules to the `imports` attribute.
You can then configure your services like usual.

```nix
let
nur-no-pkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {};
in
{
imports = lib.attrValues nur-no-pkgs.repos.moredhel.hmModules.modules;
services.unison = {
enable = true;
profiles = {
org = {
src = "/home/moredhel/org";"
dest = "/home/moredhel/org.backup";
extraArgs = "-batch -watch -ui text -repeat 60 -fat";
};
};
};
}
```

## Finding packages

At the moment we do not have a dedicated package search available. However our
Expand Down

0 comments on commit e7bb23a

Please sign in to comment.