!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

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

Load older messages


SenderMessageTime
17 Aug 2024
@adam:robins.wtfadamcstephensahh, so you changed it for all disk images :)12:33:05
@hexa:lossy.networkhexahuh, cool12:35:16
@hexa:lossy.networkhexaI don't remember doing that 🙂 12:35:22
@adam:robins.wtfadamcstephenshttps://github.com/NixOS/hydra/issues/9112:38:45
@adam:robins.wtfadamcstephensNever done, closed five years later.12:38:54
@hexa:lossy.networkhexathe thing is essentially unmaintained12:40:11
@hexa:lossy.networkhexahm, the lxd image server still advertises 23.1112:42:35
@adam:robins.wtfadamcstephensyeah i just removed it yesterday12:43:02
@adam:robins.wtfadamcstephensi think it'll roll off after a few days12:43:36
@adam:robins.wtfadamcstephensugh, i made the incus image squashfs but that builder puts the file directly in the store without an $out dir12:45:09
@hexa:lossy.networkhexacool12:45:22
@adam:robins.wtfadamcstephenshttps://github.com/NixOS/nixpkgs/pull/33536613:07:44
@adam:robins.wtfadamcstephensreviews appreciated :)13:07:56
@aurbrunet:matrix.orgaurbrunet joined the room.21:54:58
31 Aug 2024
@galaxyyy:matrix.orgSaturn joined the room.19:43:11
6 Sep 2024
@galaxyyy:matrix.orgSaturnIs there anything for Incus on NixOS for declarative containers, VMs, and possibly even declarative NixOS-based containers? I am currently using NixOS Containers (systemd-nspawn) for a lot of things, but it is really lacking in a lot of areas, and I have recently been exploring Incus, and I am really liking it over all, so I am just curious if it has the potential to replace my current setup.03:37:26
@adam:robins.wtfadamcstephens I use terraform to declare instances, which I then treat as standalone nixos installs 03:41:51
@adam:robins.wtfadamcstephens It’s not my favorite but with terranix can be somewhat integrated into a nix repo. Otherwise no there’s nothing nix specific out there I know of  03:45:35
@galaxyyy:matrix.orgSaturnHmm. I honestly have no experience with terraform03:45:44
@galaxyyy:matrix.orgSaturn
In reply to @adam:robins.wtf
I use terraform to declare instances, which I then treat as standalone nixos installs
How does this process work? Are you able to provide some more details?
03:46:30
@adam:robins.wtfadamcstephens https://registry.terraform.io/providers/lxc/incus/latest/docs 03:48:03
@adam:robins.wtfadamcstephens Add those resources to a terraform config. Though if you don’t know terraform you’ll need to work through learning that part. Plenty of resources including official docs can hopefully get you started  03:49:03
@galaxyyy:matrix.orgSaturn
In reply to @adam:robins.wtf
I use terraform to declare instances, which I then treat as standalone nixos installs

which I then treat as standalone nixos installs
My main thing with this is since my nix repo is private it'd be a bit annoying to clone it into each container, and also managing secrets.

03:53:17
@galaxyyy:matrix.orgSaturn
In reply to @adam:robins.wtf
I use terraform to declare instances, which I then treat as standalone nixos installs
*

which I then treat as standalone nixos installs
My main thing with this is since my nix repo is private it'd be a bit annoying to clone it into each container, and also managing secrets.

03:53:21
@galaxyyy:matrix.orgSaturn *

which I then treat as standalone nixos installs

My main thing with this is since my nix repo is private it'd be a bit annoying to clone it into each container, and also managing secrets.

03:53:28
@adam:robins.wtfadamcstephensyou can push configs, even with nixos-rebuild --target-host03:54:28
@galaxyyy:matrix.orgSaturnRight just remembered that03:54:43
@adam:robins.wtfadamcstephensthere are other deployment tools03:54:51
@adam:robins.wtfadamcstephensmost in fact are push based03:55:01
@galaxyyy:matrix.orgSaturnYeah I suppose it wouldn't be to terrible to manage03:55:14

Show newer messages


Back to Room ListRoom Version: 10