forked from pub-solar/os
29 lines
1.1 KiB
Nix
29 lines
1.1 KiB
Nix
{ profiles, ... }:
|
||
{
|
||
# build with: `nix build '.#nixosConfigurations.bootstrap.config.system.build.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.users.root # make sure to configure ssh keys
|
||
profiles.users.pub-solar
|
||
profiles.base-user
|
||
profiles.graphical
|
||
profiles.pub-solar-iso
|
||
];
|
||
|
||
boot.loader.systemd-boot.enable = true;
|
||
|
||
# will be overridden by the bootstrapIso instrumentation
|
||
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
||
|
||
# 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. It‘s 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?
|
||
}
|