os/hosts/bootstrap.nix

26 lines
987 B
Nix
Raw Normal View History

2021-08-06 01:16:53 +00:00
{ profiles, ... }:
{
2022-08-29 09:53:55 +00:00
# build with: `nix build ".#nixosConfigurations.bootstrap.config.system.build.isoImage"`
2021-08-06 01:16:53 +00:00
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
}