2021-08-06 01:16:53 +00:00
|
|
|
{ profiles, ... }:
|
|
|
|
{
|
|
|
|
# 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
|
|
|
|
profiles.users.root # make sure to configure ssh keys
|
|
|
|
profiles.users.nixos
|
2021-10-24 18:13:18 +00:00
|
|
|
profiles.graphical
|
2021-08-06 01:16:53 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
|
|
|
# will be overridden by the bootstrapIso instrumentation
|
|
|
|
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
|
|
|
}
|