add flake input

This commit is contained in:
Aditya 2024-09-11 10:36:16 +05:30
parent 927be66a48
commit 4b6da2e46b
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -7,6 +7,10 @@ Report website's status
nix run github:akr2002/monitor nix run github:akr2002/monitor
``` ```
### Persistent ### Persistent
Add the following line to your `flake.nix`
```nix
inputs.monitor.url = "github/akr2002:monitor";
```
Add the following to your `home.nix` Add the following to your `home.nix`
```nix ```nix
systemd.user.timers.monitor = { systemd.user.timers.monitor = {