eh on Nostr: Okay. Time to learn some more #nix than just using it for local development! I have a ...
Okay. Time to learn some more #nix than just using it for local development!
I have a server running #nixos 23.05 and I want to set up some services that I have written myself. The first service is a simple IRC bot written in Haskell.
Where do I begin? 🤷
It should basically end up with a binary on the server and a service that is pretty much just this:
```
[Service]
ExecStart=/some/where/my_silly_bot
Restart=always
```
Do I create some config in the git repo and refer to it from the nixos server? Am I creating a “module”? (I duckduckwent it, but not even knowing what concepts I should search for made it a bit difficult. 😇)
I have a server running #nixos 23.05 and I want to set up some services that I have written myself. The first service is a simple IRC bot written in Haskell.
Where do I begin? 🤷
It should basically end up with a binary on the server and a service that is pretty much just this:
```
[Service]
ExecStart=/some/where/my_silly_bot
Restart=always
```
Do I create some config in the git repo and refer to it from the nixos server? Am I creating a “module”? (I duckduckwent it, but not even knowing what concepts I should search for made it a bit difficult. 😇)