nixos-config/hosts/bootstrap/default.nix
Gabriel Arazas 051e7fb3c4
config: remove inputs extraArgs
It isn't exactly used much and also it is not really meant to be used in
that way even though it is still Nix data.
2023-11-07 08:21:48 +08:00

30 lines
754 B
Nix

{ lib, config, pkgs, ... }:
# Since this will be exported as an installer ISO, you'll have to keep in mind
# about the added imports from nixos-generators. In this case, it simply adds
# the NixOS installation CD profile.
#
# This means, there will be a "nixos" user among other things.
{
isoImage = {
isoBaseName = config.networking.hostName;
# Store the source code in a easy-to-locate path.
contents = [{
source = ../..;
target = "/etc/nixos/";
}];
};
boot.kernelPackages = pkgs.linuxPackages_6_1;
# Assume that this will be used for remote installations.
services.openssh = {
enable = true;
allowSFTP = true;
};
documentation.nixos.options.splitBuild = false;
system.stateVersion = "23.11";
}