!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

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

Load older messages


SenderMessageTime
5 Feb 2024
@adam:robins.wtfadamcstephens https://linuxcontainers.org/incus/docs/main/howto/server_migrate_lxd/ 12:12:57
@adam:robins.wtfadamcstephenshonestly, i'd like to deprecate lxd in nixpkgs prior to 24.0513:55:13
@adam:robins.wtfadamcstephensi don't really see the point in having both, lxd is currently lacking in non-ubuntu images until the point canonical stands up a replacement for the lxc imageserver, it's duplicative effort to maintain, and the reasons above14:02:08
@hexa:lossy.networkhexaif you own it and don't want it any longer, remove it14:11:20
@adam:robins.wtfadamcstephensright, i think the big question is are there other users who would want to take over ownership14:18:38
@hexa:lossy.networkhexaopen PR, post to discourse14:19:08
@hexa:lossy.networkhexaask in this room 🤡14:19:15
@adam:robins.wtfadamcstephens:)14:19:19
@hexa:lossy.networkhexagive it a month or so14:19:23
@hexa:lossy.networkhexasend it14:19:26
@hexa:lossy.networkhexaunstable breaking changes thread comes to mind14:19:35
@adam:robins.wtfadamcstephensok, you motivated me. i'll move that higher on my list of projects14:20:54
@hexa:lossy.networkhexahttps://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/1757414:24:28
@adam:robins.wtfadamcstephensye[14:29:24
@adam:robins.wtfadamcstephens * yep14:29:26
@adam:robins.wtfadamcstephenshttps://github.com/AshleyYakeley/NixVirt14:35:33
@adam:robins.wtfadamcstephensdeclarative resources is really the last major thing i think we need for incus14:35:45
8 Feb 2024
@aanderse:nixos.devaanderseso there's no way for me to conditionally say a machine is an lxc container where the condition is based on `config`, right? in other words... you *must* `imports` the lxc functionality which has the usual infinite recursion implications?01:16:21
@adam:robins.wtfadamcstephens Meaning you can’t conditionally import the profile, yes 01:20:28
@adam:robins.wtfadamcstephens I normally just `imports = [ (modulesPath + "/virtualisation/lxc-container.nix") ];` on the host  01:21:47
@aanderse:nixos.devaandersei thought so... hmmm01:22:33
@adam:robins.wtfadamcstephens It may be possible to turn this into a regularly imported nixos module. I’ve never investigated doing so though   01:23:16
@aanderse:nixos.devaandersethat wouldn't be trivial unfortunately... because lxc-container.nix imports things too 01:24:03
@adam:robins.wtfadamcstephens It looks like a handful of the virtualization modules are  01:24:06
@aanderse:nixos.devaanderse🤔01:24:14
@aanderse:nixos.devaandersebut i *really* want to mark a container using `config` hmmm01:24:41
@adam:robins.wtfadamcstephens We could duplicate the common config into the container/vm modules. It’s not that extensive    01:25:23
@aanderse:nixos.devaanderseyeah? i would really love that01:26:05
@aanderse:nixos.devaanderseI'm not sure what the precedent for module vs import is anyone know?01:27:17
@aanderse:nixos.devaanderseI'm trying to think of more examples of module vs import01:28:29

Show newer messages


Back to Room ListRoom Version: 10