Skip to content

Commit

Permalink
adding README instruction for home-manager-module
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 committed Jun 12, 2024
1 parent f526fda commit 6162a23
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,44 @@ For example:

</details>

##### Home-Manager
There's a home-manager module which adds `programs.bugstalker` to your home-manager config.
You can add it by doing the following:

<details>

```nix
{
description = "NixOS configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
bugstalker.url = "github:godzie44/BugStalker";
};
outputs = inputs@{ nixpkgs, home-manager, bugstalker, ... }: {
nixosConfigurations = {
hostname = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.sharedModules = [
bugstalker.homeManagerModules.default
];
}
];
};
};
};
}
```

</details>

---

## Start debugger session
Expand Down

0 comments on commit 6162a23

Please sign in to comment.