Home Manager: Difference between revisions
imported>Krey No edit summary |
imported>Krey No edit summary |
||
| Line 3: | Line 3: | ||
== Configuration == | == Configuration == | ||
Home Manager is configured in <code>~/.config/nixpkgs/home.nix</code> | Home Manager is can be configured in <code>~/.config/nixpkgs/home.nix</code> or inside configuration.nix. | ||
For the latter, add the following to your config | |||
<syntaxhighlight lang="nix> | |||
imports = [ | |||
... | |||
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" | |||
]; | |||
home-manager.users.your_username = { ... } | |||
</syntaxhighlight> | |||
=== Examples === | === Examples === | ||
* [https://github.com/yrashk/nix-home/blob/master/home.nix Yurii Rashkovskii's home.nix] | * [https://github.com/yrashk/nix-home/blob/master/home.nix Yurii Rashkovskii's home.nix] | ||