2024-07-06 23:09:31 +05:30
|
|
|
# Nethack configuration module for home-manager
|
2024-07-06 20:02:32 +05:30
|
|
|
|
2024-07-06 23:09:31 +05:30
|
|
|
TLDR: [home-manager](https://github.com/nix-community/home-manager/) module for easier `.nethackrc` configuration.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
1. Add this repo to inputs:
|
|
|
|
```nix
|
|
|
|
inputs.nethack.url = git+ssh://git@git.psf.lt/xezo360hye/nethack;
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Use the input as module:
|
|
|
|
```nix
|
|
|
|
outpus.homeConfigurations."user@host" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
modules = [
|
|
|
|
nethack.homeManagerModules.nethack
|
|
|
|
|
|
|
|
./home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
```
|