Update
This commit is contained in:
parent
4653a9e86f
commit
3950c68160
@ -11,7 +11,6 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||
- [ ] Homepage (web) v2
|
||||
- [ ] Compile the sveltejs project
|
||||
- [ ] Different link on web/mobile (so it can open ios/android apps)
|
||||
- [ ] Test services ? (ping)
|
||||
- [ ] Manifest & favicon
|
||||
- [ ] Nixvim
|
||||
- [ ] Nerdfont pluggins to search and paste in the code
|
||||
|
@ -10,8 +10,8 @@
|
||||
|
||||
systemd.services."bitcoin-git" = {
|
||||
script = ''
|
||||
[ ! -d "/home/heaven/btcprice" ] && git clone git@github.com:anotherhadi/btcprice /home/heaven/btcprice
|
||||
cd "/home/heaven/btcprice"
|
||||
[ ! -d "/home/hadi/btcprice" ] && git clone git@github.com:anotherhadi/btcprice /home/hadi/btcprice
|
||||
cd "/home/hadi/btcprice"
|
||||
price=$(curl eur.rate.sx/1BTC)
|
||||
echo "# Bitcoin Price in EURO" >README.md
|
||||
echo "" >>README.md
|
||||
@ -19,13 +19,13 @@
|
||||
echo "" >>README.md
|
||||
echo "Date: $(date)" >>README.md
|
||||
git add .
|
||||
git commit -m "Update price (heaven)"
|
||||
git commit -m "Update price (hadi)"
|
||||
git push -u origin main
|
||||
exit 0
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "heaven";
|
||||
User = "hadi";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -9,12 +9,12 @@
|
||||
../modules/server/nginx.nix
|
||||
../modules/server/nextcloud.nix
|
||||
../modules/server/vaultwarden.nix
|
||||
|
||||
../modules/server/www
|
||||
../modules/server/adguard.nix
|
||||
../modules/server/ntfy-sh.nix
|
||||
../modules/server/tailscale.nix
|
||||
../modules/server/kuma.nix
|
||||
../modules/server/bitcoin-git.nix
|
||||
# ../modules/server/unifi.nix # FIXME: unifi5 is deprecated
|
||||
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user