!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

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

Load older messages


SenderMessageTime
20 Mar 2024
@hexa:lossy.networkhexabut that ship has sailed01:35:12
@adam:robins.wtfadamcstephenswhat do you mean always expanding lists?01:35:37
@hexa:lossy.networkhexato one line per item01:35:47
@adam:robins.wtfadamcstephensahh01:36:05
@adam:robins.wtfadamcstephenswe get that, after we get two items01:36:31
@adam:robins.wtfadamcstephensi feel like the ovs line should split anyway given its lenght01:41:21
@adam:robins.wtfadamcstephens101 characters01:41:47
@hexa:lossy.networkhexayeah, but that it flips around between one and two item 🤷01:41:57
@adam:robins.wtfadamcstephensyeah extra diff churn01:42:12
@hexa:lossy.networkhexa I know the discussion is probably not that simple 01:42:20
@adam:robins.wtfadamcstephensprobably not02:14:44
@aanderse:nixos.devaanderseanyone ever run a container in github actions? no matter what command i run via `lxc exec machine -- X` i get command not found and i can't even `lxc console` into the machine... always says the password is wrong even though i built and loaded custom lxc image again... only happening when run from github actions20:54:34
@aanderse:nixos.devaanderseand for reference an ubuntu container runs fine 😐20:55:11
@adam:robins.wtfadamcstephens What nixos image are you using? 21:11:02
@adam:robins.wtfadamcstephens You could see if it’s a path issue by using /run/current-system/sw/bin/…. 21:12:39
@aanderse:nixos.devaanderseyeah that was my first thought not PATH related thanks though just thought I'd mention here in case anyone has done this, save me some time banging my head 😂21:18:54
21 Mar 2024
@adam:robins.wtfadamcstephens
In reply to @aanderse:nixos.dev
yeah that was my first thought not PATH related thanks though just thought I'd mention here in case anyone has done this, save me some time banging my head 😂
I don’t use GHA much and definitely not with lxd/incus. I do know the incus repo does though.
11:06:34
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:02:49
22 Mar 2024
@adam:robins.wtfadamcstephens How can we improve the out of box experience for image users, without necessarily bundling the channels? 22:13:53
23 Mar 2024
@mkg20001:mkg20001.iomkg20001task that runs on first boot that tries to fetch them?18:46:38
@adam:robins.wtfadamcstephens I wonder if systemd first boot runs  19:21:28
@adam:robins.wtfadamcstephens Maybe not since it runs quite early  19:29:56
@adam:robins.wtfadamcstephens There’s `ConditionFirstBoot` though  19:30:55
24 Mar 2024
@mkg20001:mkg20001.iomkg20001alternativly you could use condition if path exists and check if /nix/var/nix/profiles/per-user/root/channels exists15:18:29
@mkg20001:mkg20001.iomkg20001and if not download channels. (and make that part of the initial image configuration but not further rebuilds as it will become problematic when the user tries to remove channels entierly)15:19:05
@mkg20001:mkg20001.iomkg20001I'm not sure if ConditionFirstBoot exists as I've seen some code in the activation script where they fake the firtboot state so systemd doesn't try to populate etc15:20:26
@mkg20001:mkg20001.iomkg20001here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-2-init.sh#L13315:22:55
28 Mar 2024
@adam:robins.wtfadamcstephensi've been thinking about this https://discuss.linuxcontainers.org/t/incus-0-7-has-been-released/19485#image-server-management-tool-416:38:05
@adam:robins.wtfadamcstephensi feel like we could use this to generate an imageserver of nixos builds16:39:15
@adam:robins.wtfadamcstephensi can't quite put my finger on the integration to make it work though16:40:07

Show newer messages


Back to Room ListRoom Version: 10