!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

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

Load older messages


SenderMessageTime
18 Apr 2024
@adam:robins.wtfadamcstephens that's fine. i guess i'm asking what the alternative to pkgs.stdenv.hostPlatform.isx86 is? 14:35:58
@adam:robins.wtfadamcstephense.g. what would i reference instead of that boolean?14:38:53
@hexa:lossy.networkhexahm?14:40:16
@hexa:lossy.networkhexaisx86_64?14:40:22
@adam:robins.wtfadamcstephensyou said "and please no pkgs.stdenv indirection" so i'm just trying to understand how you'd write the condition instead :)14:40:38
@hexa:lossy.networkhexaoh, just pass stdenv via args14:40:51
@adam:robins.wtfadamcstephensin a module?14:42:08
@hexa:lossy.networkhexauh, yes?14:42:40
@hexa:lossy.networkhexahmmm14:42:50
@hexa:lossy.networkhexaam I holding it wrong?14:42:58
@hexa:lossy.networkhexalooks like it o_O14:43:10
@adam:robins.wtfadamcstephensi'm not passing anything to the module, and the module system doesn't pass stdenv14:43:21
@hexa:lossy.networkhexaok, then nvm14:43:27
@adam:robins.wtfadamcstephens:)14:43:30
@hexa:lossy.networkhexa🤷14:43:36
@adam:robins.wtfadamcstephensanyway, i removed the condition and left the rule constraint, so it'll go to all systems. 14:45:16
@hexa:lossy.networkhexaok14:46:06
19 Apr 2024
@adam:robins.wtfadamcstephensI'm going to take a break from matrix for a bit. Feel free to find me on IRC or Discord if anyone needs me17:10:29
22 Apr 2024
@hexa:lossy.networkhexa
❯ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
13:03:26
@hexa:lossy.networkhexa *
❯ incus config device add win11 vtpm tpm path=/dev/tpm0
Device vtpm added to win11
❯ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
13:03:49
@hexa:lossy.networkhexaadding swtpm to the long list in the module helps13:06:45
@hexa:lossy.networkhexawondering how that list gets created/maintained 🙂13:20:10
@adam:robins.wtfadamcstephens
In reply to @hexa:lossy.network
wondering how that list gets created/maintained 🙂
By hand :/
17:57:23
@hexa:lossy.networkhexastop being here!!!!17:57:31
@adam:robins.wtfadamcstephensheh, i am definitely checking it less. it was just open on my work laptop which i haven't used since Friday :)17:57:56
@hexa:lossy.networkhexa🙂 17:58:04
@adam:robins.wtfadamcstephenshonestly the unread markers finally wore me down to the point of intolerance17:58:24
@adam:robins.wtfadamcstephens greping for exec.LookPath in the incus repo seems to be useful, and we probably have most of them. 18:01:55
@adam:robins.wtfadamcstephens please open a pr for swtpm 18:02:04
@hexa:lossy.networkhexahave a local change, think about a test18:04:20

Show newer messages


Back to Room ListRoom Version: 10