!oNSIfazDqEcwhcOjSL:matrix.org

disko

354 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) *
[root@t480:~]# nixos-enter 
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
19:47:01
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Ah, nixos-enter doesn't work unless there's a profile there first19:47:51
@blimbus:matrix.orgblimbus joined the room.23:19:36
12 Aug 2024
@brian:bmcgee.ie@brian:bmcgee.ie Is there a way of running disko in a vm test? I'm trying it with just disko --mode disko ... but it's reaching out to the internet and failing 14:36:14
@brian:bmcgee.ie@brian:bmcgee.ie I'll have a play around with diskoLib.testLib.makeDiskoTest 14:37:53
@brian:bmcgee.ie@brian:bmcgee.ie Yeah, Disko's testLib was the way to go. Had to import it a bit differently due to the impure <nixpkgs> defaults for some of it's args, but no biggy. 16:00:17
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest 16:02:13
@brian:bmcgee.ie@brian:bmcgee.ie
In reply to @matthewcroughan:defenestrate.it
BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest
Good to know. makeDiskoTest is a better fit for use case in this instance https://github.com/numtide/nixos-facter/pull/73
16:05:12
@brian:bmcgee.ie@brian:bmcgee.iehttps://github.com/numtide/nixos-facter/pull/73/files#diff-35d68d8d6463519724b4aef23da56f8e50797dc42899592a9003ecb7c475cddc16:05:31
@tanvir:hackliberty.org@tanvir:hackliberty.org joined the room.17:10:12
13 Aug 2024
@sigmasquadron:matrix.orgSigmaSquadronRedacted or Malformed Event22:06:55
@sigmasquadron:matrix.orgSigmaSquadronRedacted or Malformed Event22:07:28

Show newer messages


Back to Room ListRoom Version: 10