!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko95 Servers

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


SenderMessageTime
17 Mar 2025
@nicoty:kde.orgnicoty joined the room.17:46:50
@disco_stick:matrix.orgThe Jia Tan of Datasets changed their display name from iLovePsyOps to Ghost of Corporate Future.18:59:58
18 Mar 2025
@matthewcroughan:defenestrate.itmatthewcroughan Any opposition to renaming installTest to diskoInstallTest ? 18:06:55
@matthewcroughan:defenestrate.itmatthewcroughan or in putting disko attrs into a disko set? like system.config.build.disko.installTest? 18:07:23
@matthewcroughan:defenestrate.itmatthewcroughan It has always annoyed me when trying to find installTest, because I ignore this attribute believing it to be a nixpkgs one, not realising disko introduced it 18:07:48
@matthewcroughan:defenestrate.itmatthewcroughan
[root@nixos:/home/nixos/nixcfg]# nix run .#nixosConfigurations.p4.config.system.build.diskoScript
warning: Git tree '/home/nixos/nixcfg' is dirty
error: unable to execute '/nix/store/i1v0hbscb3m3bib3f90dsm479d6aisk8-disko/bin/disko': Not a directory
18:36:34
@matthewcroughan:defenestrate.itmatthewcroughanDid not realise before that the disko script was not runnable 18:36:41
19 Mar 2025
@erahhal:homefree.hosterahhal joined the room.03:05:37
@erahhal:homefree.hosterahhal

Hi! I've used disko with nixos-anywhere on a few machines and now on a newer machine having some trouble. Not sure if I broken something in the config or something changed out since NixOS has been bumped since then. I'm seeing this error and no idea what it means:

error: flake 'git+file:///home/erahhal/Code/nixcfg' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."msi-linux".config.system.build.diskoScript', 'legacyPackages.x86_64-linux.nixosConfigurations."msi-linux".config.system.build.diskoScript' or 'nixosConfigurations."msi-linux".config.system.build.diskoScript'

Does it mean that it can't find the disk device so it's not able to build a script? Perhaps I've provided the wrong device? I triple checked it though and it seems to be correct.

03:09:45
@enzime:nixos.devEnzime if you open nix repl ~/Code/nixcfg then type in nixosConfigurations.msi-linux.config.system.build.toplevel 03:13:26

Show newer messages


Back to Room ListRoom Version: 10