Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
if [ -n "$FLAKE" ] && [ ! -e "/nix/var/nix/profiles/per-container/$INSTANCE/system" ]; then
# we create the etc/nixos-container config file, then if we utilize the update function, we can then build all the necessary system files for the container
${lib.getExenixos-container} update "$INSTANCE"
fi
declare -a extraFlags
if [ "$PRIVATE_NETWORK" = 1 ]; then
@@ -844,6 +849,16 @@ in
'';
};
flake=lib.mkOption{
type=lib.types.nullOrlib.types.str;
default=null;
example="github:NixOS/nixpkgs/master";
description=''
The Flake URI of the NixOS configuration to use for the container.
Replaces the option {option}`containers.<name>.path`.
'';
};
# Removed option. See `checkAssertion` below for the accompanying error message.
pkgs=mkOption{visible=false;};
}//networkOptions;
@@ -867,13 +882,18 @@ in
- containers.${name}.config.nixpkgs.pkgs
This only sets the `pkgs` argument used inside the container modules.