os/hosts/bootstrap.nix

29 lines
1.1 KiB
Nix
Raw Normal View History

2021-08-06 01:16:53 +00:00
{ profiles, ... }:
{
# build with: `nix build '.#nixosConfigurations.bootstrap.config.system.build.bootstrapIso'`
2021-08-06 01:16:53 +00:00
# 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.users.root # make sure to configure ssh keys
profiles.users.pub-solar
profiles.base-user
2021-10-24 18:13:18 +00:00
profiles.graphical
2021-10-24 20:03:28 +00:00
profiles.pub-solar-iso
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"; };
2022-07-08 12:13:41 +00:00
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
2021-08-06 01:16:53 +00:00
}