-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add docs/configs/home-manager.md
- Loading branch information
1 parent
9b8be8c
commit a3f4d6e
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# home-manager Configurations | ||
|
||
## Examples | ||
|
||
```(nix) | ||
homeConfigurations = { | ||
sam = inputs.home.lib.homeManagerConfiguration { | ||
#pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
modules = [ ./hm/users/sam ]; | ||
extraSpecialArgs = { inherit inputs; user = "sam"; }; | ||
}; | ||
guest = inputs.home.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
#modules = [./hm/users/default]; | ||
extraSpecialArgs = { inherit inputs; user = "guest"; }; | ||
}; | ||
}; | ||
``` | ||
|
||
Note: *this snippet was originally found in `flake.nix`, but commented out for a while. | ||
It has been moved here to reduce clutter in `flake.nix`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters