workaround bug in docs rendering if machine.name is not set
This commit is contained in:
@@ -4,18 +4,18 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
baseModule = {
|
baseModule =
|
||||||
imports = (import (pkgs.path + "/nixos/modules/module-list.nix")) ++ [
|
{ config, ... }:
|
||||||
(
|
{
|
||||||
{ config, ... }:
|
imports = (import (pkgs.path + "/nixos/modules/module-list.nix"));
|
||||||
{
|
nixpkgs.pkgs = pkgs;
|
||||||
nixpkgs.pkgs = pkgs;
|
clan.core.name = "dummy";
|
||||||
clan.core.name = "dummy";
|
system.stateVersion = config.system.nixos.release;
|
||||||
system.stateVersion = config.system.nixos.release;
|
# Set this to work around a bug where `clan.core.settings.machine.name`
|
||||||
}
|
# is forced due to `networking.interfaces` being forced
|
||||||
)
|
# somewhere in the nixpkgs options
|
||||||
];
|
facter.detected.dhcp.enable = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# This function takes a list of module names and evaluates them
|
# This function takes a list of module names and evaluates them
|
||||||
# [ module ] -> { config, options, ... }
|
# [ module ] -> { config, options, ... }
|
||||||
|
|||||||
Reference in New Issue
Block a user