2022-03-09 23:55:02 +03:00
|
|
|
{profiles, ...}: {
|
2021-08-06 04:16:53 +03:00
|
|
|
# build with: `bud build bootstrap bootstrapIso`
|
|
|
|
# reachable on the local link via ssh root@fe80::47%eno1
|
|
|
|
# where 'eno1' is replaced by your own machine's network
|
|
|
|
# interface that has the local link to the target machine
|
|
|
|
imports = [
|
|
|
|
# profiles.networking
|
|
|
|
profiles.core
|
2022-02-18 20:31:01 +03:00
|
|
|
profiles.users.root
|
|
|
|
# make sure to configure ssh keys
|
2021-08-06 04:16:53 +03:00
|
|
|
profiles.users.nixos
|
|
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
# will be overridden by the bootstrapIso instrumentation
|
2022-03-09 23:55:02 +03:00
|
|
|
fileSystems."/" = {device = "/dev/disk/by-label/nixos";};
|
2021-08-06 04:16:53 +03:00
|
|
|
}
|