!oNSIfazDqEcwhcOjSL:matrix.org

disko

360 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko92 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@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
@enzime:nixos.devEnzime what happens? 03:13:34
@erahhal:homefree.hosterahhalSays it's missing. I must have a typo in my root flake? Looking03:15:22
@erahhal:homefree.hosterahhalUgh, I put the host config one level too high in the scope. Surprised the it didn't cause problems when I tried building other machines that are also defined in the flake03:16:51
@erahhal:homefree.hosterahhalthank you!03:16:52
@erahhal:homefree.hosterahhalI need to get more familiar with using the repl03:17:13
@erahhal:homefree.hosterahhal Ok, another question, so I installed to a second drive. The first drive has windows. I'm going to change the boot order so that the linux drive is first. The problem is that it didn't register the drive with the boot manager. I had to manually run efibootmgr -c etc etc etc. Is there a way to make sure the second drive gets registered with the boot manager? 04:42:45
@erahhal:homefree.hosterahhalThough actually, it's still not showing up in the BIOS boot options. Guess that wasn't enough04:44:01
@erahhal:homefree.hosterahhalI'm guessing some extra config is necessary to get it to install a fully bootable system on a second drive?04:44:25
@erahhal:homefree.hosterahhalFigured it out, should use systemd rather than grub05:00:08
@erahhal:homefree.hosterahhalthe nix wiki on dual boot seems to be out of date05:00:27
@sigmasquadron:matrix.orgSigmaSquadron
In reply to @erahhal:homefree.host
the nix wiki on dual boot seems to be out of date
but... the wiki tells you to use systemd?
05:42:29
@sigmasquadron:matrix.orgSigmaSquadronwhat part of it is outdated?05:42:45
@erahhal:homefree.hosterahhalYou know what, my reading comprehension sucks.05:43:17
@erahhal:homefree.hosterahhalnevermind05:43:18
@erahhal:homefree.hosterahhalit does specifically mention to use systemd if using multiple disks05:43:27
@sigmasquadron:matrix.orgSigmaSquadron

When systemd-boot is installed to the same EFI System Partition (ESP) that Windows uses
sounds like it's the same disk to me

05:44:02
@sigmasquadron:matrix.orgSigmaSquadron *

When systemd-boot is installed to the same EFI System Partition (ESP) that Windows uses...

sounds like it's the same disk to me

05:44:09
@sigmasquadron:matrix.orgSigmaSquadronoh, wait, are you looking at nixos.wiki?05:47:41
@sigmasquadron:matrix.orgSigmaSquadronThat's an old, unofficial wiki. The actual wiki is under nixos.org: https://wiki.nixos.org/wiki/Dual_Booting_NixOS_and_Windows05:48:00
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk left the room.09:48:11
@disco_stick:matrix.orgfood style edible product1000047688.jpg
Download 1000047688.jpg
16:12:16
@disco_stick:matrix.orgfood style edible productI'm getting a stage2 init script not found (impermanence/disko) any ideas? 16:12:41
@disco_stick:matrix.orgfood style edible product

Here's the disk configs if anyone is willing to take a look.

https://warez.kernelpanic.cafe/Code/impermanence.nix.txt

https://warez.kernelpanic.cafe/Code/disko.nix.txt

16:13:03
20 Mar 2025
@disco_stick:matrix.orgfood style edible product changed their display name from Ghost of Corporate Future to It's scary when I'm focused.19:08:21
21 Mar 2025
@disco_stick:matrix.orgfood style edible product changed their display name from It's scary when I'm focused to OpenAI brand ChatGPT®.15:23:11
@marcusramberg:matrix.orgMarcus joined the room.20:19:03

Show newer messages


Back to Room ListRoom Version: 10