-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: quickstart "ISO. What next?" #167
Comments
Maybe we should copy over the current local {
isoImage.contents =
[
{ source = self;
target = "/devos/"; # or self.name (if that was to exist)
}
];
} Maybe even a little more magic can be done with the help of { isoImage.storeContents = mkOption {
example = literalExample "[ pkgs.stdenv ]";
description = ''
This option lists additional derivations to be included in the
Nix store in the generated ISO image.
'';
};
} Off topic: Documenting in preparation of PR: $ cd /iso/devos
$ nix develop
$ flk install MyNewHost --impure Why the heck is it |
Somewhat unrelated, but if I created an iso from my server's config which has random systemd services(minecraft, matrix, ...). Will those services startup when I boot from the iso? Because it would be really annoying if a bunch of services starting setting up databases and taking up ram while I'm running through the install. But I still want those applications to exist for easy installation. |
Yes. And indeed that is something that needs more thought, still. |
Perhaps as you add the devos source you could remove the |
This is gold price input. Let's safe it for a follow up issue / pr though. |
Really looking forward to being able to easily build ISO's for bootstrapping a machine! |
Copy over the nix storepath contents of the top level flake in order to be able to boostrap a host from a live iso installer conforming to the devos documentation using it's devshell. closes divnix#167
Copy over the nix storepath contents of the top level flake in order to be able to boostrap a host from a live iso installer conforming to the devos documentation using it's devshell. closes divnix#167
Given one started to plan an environment with devos:
There is a bit of a gap between flashing the ISO of a new host onto a stick and fully managing a host either locally (after having set up network and access rights and cloned the repo onto it) or remotely via deployrs (after having bootstrapped identity and ssh access).
Related: #132 (comment)
documenting my journey so far:
flk iso MyNewHost
dd ...
mount /dev/disk/by-label/nixos /mnt
mkdir -p /mnt/boot
mount /dev/disk/by-label/boot /mnt/boot
swapon /dev/sda2
deploy ".#MyNewHost" --hostname 192.168.191.179 --ssh-user nixos
& that failed, presumably because according to nixos installer things are to be mounted under/mnt
The text was updated successfully, but these errors were encountered: