| 12 Oct 2021 |
nix-community-bot | [resolved] uptime: Uptime monster: nix-community-build03 has been up for more than 30 days.
| 07:45:18 |
Mic92 | async looks like a nice tool: https://github.com/ctbur/async/ | 12:02:30 |
Mic92 | I will re-build our deployment tool with it. | 12:02:41 |
Mic92 | deploy script | 12:02:47 |
Mic92 | Basically just a wrapper around nixos-rebuild. | 12:04:06 |
@andi:kack.it | In reply to @mic92:nixos.dev async looks like a nice tool: https://github.com/ctbur/async/ Looks neat. I like how it doesn't use async :D | 12:37:22 |
fedx | I am interested in maybe implimenting two things and would like some input. 1: Declarative Podman rootless containerisation via Home Manager, and 2: declarative rootless daemonization of small tasks that you may not want to run in systemd, also via home manger. | 16:22:15 |
nrdxp | if you don't want systemd, maybe makes would be a better fit in that case? fedx | 17:37:19 |
fedx | Its not that I don't like systemd, its just that it may be useful to have a daemon for the specific user to perhaps spin up quick deamons, kind of like how you spin up quick containers with toolbox. | 17:53:06 |
nrdxp | well I don't like systemd 🙂
but I make due since there is really no avoiding it nowadays 😅 | 17:54:04 |
fedx | Agreed, I don't hate it, but I don't love it. I am not a fan of OpenRC, as it is super slow, but I have been looking at runit from Void. | 17:54:55 |
fedx | Makes does look interesting for some other stuff though... | 17:56:03 |
fedx | It would probably something like “every day at run home-manager update”. Maybe less like a daemon and more like recurring rootless scripts which automatically execute. | 18:14:21 |
fedx | * It would probably something like “every day at 8:30 run home-manager update”. Maybe less like a daemon and more like recurring rootless scripts which automatically execute. | 18:14:40 |
fedx | Turns out that is what cron is for, and it has been requested. https://github.com/nix-community/home-manager/issues/571 | 20:27:14 |
nrdxp | I was gonna say that it sounds like you want cron but I guess I context switched and forgot 😅
systemd does have a concept as timers which essentially fulfill the same purpose if you don't have a hard affinity against using it | 20:43:31 |
nrdxp | * I was gonna say that it sounds like you want cron but I guess I context switched and forgot 😅
systemd does have a concept of timers which essentially fulfill the same purpose if you don't have a hard affinity against using it | 20:44:01 |
fedx | Lol. I have only been using Linux for a year, so I don't understand the sceptisisim around systemd, and don't have any inheriant issues around it. However, I will attempt to implement cron in home-manager. | 21:21:47 |
nrdxp | I mean it's great to have a standard tool that everyone uses for the sake of sanity, I just wish is was a slightly better designed tool with less obtuse documentation | 22:05:57 |
fedx | Ah, I just copy and past random systemctl commands off the internet. The two Linux things I have read absolutely 0 documentation on are Gnome and Systemd. Nix does help though, I kind of love how you just tell nix to start a daemon, and it fetches everything to make it work, and disabling it purges the binary. | 22:20:47 |
fedx | Systemd is so universal, is so confusing using a non systemd distro, you boot in, try to enable ssh, and realize you have no idea what is going on. | 22:22:01 |
fedx | Ho, wait, never mind, I have read those docs. Yah, they are amazingly bad. I always refer to the Arch Wiki for nearly everything, and they have some great systemd docs, seeing as unless you use and "easier" arch fork like Manjaro, you really need to know your systemd. | 22:30:35 |
fedx | * Oh, wait, never mind, I have read those docs. Yah, they are amazingly bad. I always refer to the Arch Wiki for nearly everything, and they have some great systemd docs, seeing as unless you use and "easier" arch fork like Manjaro, you really need to know your systemd. | 22:50:32 |
| 13 Oct 2021 |
| mipselaer joined the room. | 11:22:53 |
| mipselaer set a profile picture. | 11:27:54 |
fedx | I tried using systemd user services, and I have been bashing my head against a wall trying to figure out what is going on. Yah, I am just going to use cron. I don't need the full daemon capabilities of Systemd, and I agree, are there even docs? | 20:00:04 |
ryantm | In reply to @mic92:nixos.dev async looks like a nice tool: https://github.com/ctbur/async/ Cool. Looks like it doesn't have an insane "must-cite" license like GNU Parallel. | 23:10:33 |
ryantm | It looks like I'm confusing a license with just annoying program behavior. | 23:20:44 |
| 14 Oct 2021 |
kamadorueda | I currently use Makes on my Nixos to setup vscode config and its extensions, it integrates very well both as a system-activation-script and a systemd module | 01:43:45 |
ryantm | FYI: I am now an admin/maintainer of nixdoc alongside tazjin. I'm going to try to get my CommonMark changes integrated into it soon. https://github.com/nix-community/nixdoc | 19:54:02 |