mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
Gabriel Arazas
142c2ef378
The user modules are apparently not compatible with the default way of building the documentation so we'll have to. This should fix being able to unable to be built due to the missing files which most likely came from the cache.
30 lines
781 B
Nix
30 lines
781 B
Nix
{ lib, config, pkgs, inputs, modulesPath, ... }:
|
|
|
|
# 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 = inputs.self;
|
|
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";
|
|
}
|