Skip to content

Commit

Permalink
docs: add docs/configs/home-manager.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehmanator committed Jul 19, 2024
1 parent 9b8be8c commit a3f4d6e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
21 changes: 21 additions & 0 deletions docs/configs/home-manager.md
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`.
12 changes: 0 additions & 12 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,6 @@
];
};
};
#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"; };
# };
#};
};
};

Expand Down

0 comments on commit a3f4d6e

Please sign in to comment.