31 lines
933 B
Text
31 lines
933 B
Text
#### wishlist.nix
|
|
This is a simple Nix flake defining a service from which
|
|
wishlist can run automatically. This flake runs wishlist-0.15.1
|
|
and lacks configurability unfortunately. However this was an
|
|
intentional choice, allowing wishlist to read from the user's
|
|
`~/.ssh/config` file, which can be configured seperately using
|
|
the something akin to the follow home-manager snippet:
|
|
```nix
|
|
programs.ssh = {
|
|
enable = true;
|
|
addKeysToAgent = "yes"; # always add keys to ssh-agent
|
|
|
|
matchBlocks = {
|
|
hyrule = {
|
|
hostname = "imbored.dev";
|
|
user = "ae";
|
|
port = 22;
|
|
identityFile = "/home/me/.ssh/id_hyrule";
|
|
};
|
|
};
|
|
};
|
|
|
|
```
|
|
|
|
This decision was mostly selfish as it was easiest...
|
|
But it comes at the cost of not being able to set the
|
|
port wishlist listens on. So for now you're stuck with `2222`.
|
|
|
|
###### The Future!! (woooowwww)
|
|
Create an option for wishlist that is used to construct
|
|
the `config.yaml` file
|