Skip to content

Commit

Permalink
Add home-manager dev shell, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jonringer committed Oct 10, 2024
1 parent 4296b3b commit 0611243
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# nixpkgs-config

Originally, this was for managing my `~/.config/nixpkgs` files, but evolved into
my home-manager configuration.

My home-manager configuration. Meant to work across linux and macOS.

```bash
Expand All @@ -18,4 +21,7 @@ extraSpecialArgs = {
To apply changes:
```bash
$ nix run .#home-manager -- switch --flake .#<configuration>
# or
$ nix develop
# home-manager -- switch --flake .#<configuration>
```
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

in utils.lib.eachSystem [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ] (system: rec {
legacyPackages = pkgsForSystem system;
devShells.default = with legacyPackages; mkShell {
packages = [ home-manager.packages.${system}.default ];
};
}) // {
# non-system suffixed items should go here
nixosModules.home = import ./home.nix; # attr set or list
Expand Down

0 comments on commit 0611243

Please sign in to comment.