!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

33 Members
lxc, lxd, incus discussions related to NixOS14 Servers

Load older messages


SenderMessageTime
1 May 2024
@hexa:lossy.networkhexathanks 🙂 17:08:34
@adam:robins.wtfadamcstephensi suspect that was a broader category than just the LXC related work :)17:16:27
2 May 2024
@adam:robins.wtfadamcstephensok, i did remove the testing refactor from https://github.com/NixOS/nixpkgs/pull/30703914:09:41
@adam:robins.wtfadamcstephensif nothing else, some input on the name of the option is desired14:10:08
4 May 2024
@rungmc:matrix.orgrungmcJust roll with that. Communicates what the option is pretty well. I feel like something like that softReload suggestion would EVENTUALLY have me looking it up down the line to see why I set it in my config.18:13:17
@rungmc:matrix.orgrungmcIs it an accurate read of what's going on here to say that if you were to set the option and alter a profile in the preseed that the affected containers would update individually on their restart? Trying to work through how I'd want to mesh that with autoUpgrade.18:24:30
@adam:robins.wtfadamcstephens I actually don’t know what happens if you try and modify a profile that running containers use. I’d have to test that. 18:59:49
@rungmc:matrix.orgrungmcI think Incus typically tries to make changes immediately.19:16:19
@adam:robins.wtfadamcstephensK. Anyway I don’t think this change affects changing preseed. That’s already a standalone service unit19:29:52
@adam:robins.wtfadamcstephens This more about not shutting down instances when the incus service is stopped. Mostly the benefit is allowing the host incus to be updated without downtime to instances 19:30:36
@rungmc:matrix.orgrungmcFair. I suppose I'm barking up the wrong tree a bit trying to figure out if there's a trade-off there that I care about.19:36:14
@adam:robins.wtfadamcstephensthis is the default setup when using the zabbly packages, and probably on other distros. i carried our setup forward from lxd, but it finally annoyed me enough to implement it as an option19:39:06
@adam:robins.wtfadamcstephenspersonally i would rather the instances stay up when something triggers the incus service to require a restart. for example, any package dependencies initiating a rebuild will do so.19:40:07
@adam:robins.wtfadamcstephensi run unstable everywhere right now, so it's a bit painful to take an outage of 11 instances just to do updates on the host :)19:45:27
@adam:robins.wtfadamcstephens * i run unstable everywhere right now, so it's a bit painful to frequently take an outage of 11 instances just to do updates on the host :)19:47:57
@rungmc:matrix.orgrungmcSame. I also ran LXD/Incus on Debian for a while before going all-in on NixOS, so I think you just cleared up a big disconnect for me.19:48:00
@adam:robins.wtfadamcstephensi could probably be convinced to make this the default. technically there's some minor loss of reproducibility, but maybe it's really not a problem19:49:09
@rungmc:matrix.orgrungmcIt's probably fine. I would imagine there's a limit to how reproducible Incus can really be without encroaching on its features. I have no idea how you'd ever set it up so you could define an instance in Nix and make that work with clustering, for example.19:53:51
@rungmc:matrix.orgrungmcUsing a NixOS container image and having the flexibility to just lift and shift between servers is good enough for me.19:57:22
@adam:robins.wtfadamcstephensyeah i sometimes overthink these things :)20:13:07
@rungmc:matrix.orgrungmcSpeaking of overthinking things, Openwrt on Incus on NixOS works brilliantly. The devices I was working with are still terrible but at least I verified that their version of hostapd is huge improvement 😉20:18:40
6 May 2024
@adam:robins.wtfadamcstephens one thing i've long wanted is a way to nix copy into an instancwe 19:34:41
@adam:robins.wtfadamcstephens * one thing i've long wanted is a way to nix copy into an instance 19:34:42
@adam:robins.wtfadamcstephense.g. `nix copy .#default --to incus://myinstance19:35:34
@adam:robins.wtfadamcstephens * e.g. `nix copy .#default --to incus://myinstance` 19:35:37
@adam:robins.wtfadamcstephenselement why, just why are you so dumb19:35:51
7 May 2024
@adam:robins.wtfadamcstephens hexa: is your incus poc(?) still going on? 18:33:27
@adam:robins.wtfadamcstephensI'm curious if you use the web UI18:33:37
@hexa:lossy.networkhexayeah, I've dabbled a bit with the web ui18:35:14
@hexa:lossy.networkhexabut I'm reworking the deployment currently, so not accessible18:35:25

Show newer messages


Back to Room ListRoom Version: 10