!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

Load older messages


SenderMessageTime
18 Aug 2025
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️ I tried just passing that in via --impure and it did the trick 12:37:14
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️now how/where do I add that to my config 😅12:37:37
@lassulus:lassul.uslassulusmaybe add a nixos-install wrapper12:37:56
@lassulus:lassul.uslassulus
environment.systemPackages = [
(pkgs.writeScriptBin "nixos-install" ''
  export SYSTEMD_RELAX_ESP_CHECKS=1
  exec {pkgs.nixos-install}/bin/nixos-install "$@"
'')
]
12:39:10
@lassulus:lassul.uslassulusor something like that12:39:13
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️hmmmm12:47:39
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️

https://github.com/systemd/systemd/issues/12468#issuecomment-698782077

And yes, sd-boot writes to the ESP if boot counting/boot assessment is enabled.

12:49:43
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️I'd like to turn that off lol12:49:48
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️I don't see it in the loader.conf options12:50:09
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️it sounds like setting that up is a rather involved process fwiw12:53:28
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️I'd say I can worry about that once I actually have two disks 😅12:53:44
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️hmmmm12:59:29
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️photo.jpg
Download photo.jpg
12:59:47
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️there is no partition table there, but the mountpoints disko generates seem to assume there is?13:00:30
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️
 nix eval .#nixosConfigurations.boop.config.fileSystems."/boot" | nix run nixpkgs#nixfmt-rfc-style
{
  autoFormat = false;
  autoResize = false;
  depends = [ ];
  device = "/dev/md/esp";
  enable = true;
  encrypted = {
    blkDev = null;
    enable = false;
    keyFile = null;
    label = null;
  };
  formatOptions = null;
  fsType = "vfat";
  label = null;
  mountPoint = "/boot";
  neededForBoot = false;
  noCheck = false;
  options = [ "umask=0077" ];
  overlay = {
    lowerdir = null;
    upperdir = null;
    useStage1BaseDirectories = true;
    workdir = null;
  };
  stratis = {
    poolUuid = null;
  };
}
13:01:42
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️this looks fine to me though 🤔13:01:51
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️seems mdmonitor.service failed cause my config is invalid13:12:25
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️dunno if that's related hmmm13:12:49
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️is that service required for md to function?13:13:04
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️the name doesn't make it sound like it lol13:13:11
@lassulus:lassul.uslassulususually not13:13:15
@lassulus:lassul.uslassulusbut the device should be mountable13:13:31
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️hmmm where do I find the units for mounts13:20:02
@noneyescat:matrix.orgmomo* Disko can be downloaded normally, but I don't understand why the subsequent operations are performed directly in the ISO instead of after creating partitions with Disko. My host has 8GB RAM and a 60GB storage, so logically, whether using tmpfs or the hard drive, resources shouldn't be exhausted.13:20:06
@noneyescat:matrix.orgmomo* Disko can be downloaded normally, but I don't understand why the subsequent operations are performed directly in the ISO instead of after creating partitions with Disko. My host has 8GB RAM and 60GB storage, so logically, whether using tmpfs or the hard drive, resources shouldn't be exhausted.13:20:18
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️ cause like, the names here (with -part1) don't exist, but without the suffix they do, and so does /dev/md/esp (used by the fileSystems entry) 13:21:06
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️actually let me see if I can manually mount them13:21:35
@vicnotor:matrix.orgvicnotor joined the room.13:24:15
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️boot succeeded! that's a good start lol13:24:40
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️ok after a deploy and reboot everything boots up fine! I'm pretty sure there was just something fucky with the state between the disko command and the impure nixos-install13:31:34

Show newer messages


Back to Room ListRoom Version: 10