2023-10-09 19:29:22 +00:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
|
{ config, pkgs, lib, modulesPath, ... }:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
# Include the default lxd configuration.
|
2023-11-16 04:20:00 +00:00
|
|
|
|
"${modulesPath}/modules/virtualisation/lxc-container.nix"
|
2023-10-09 19:29:22 +00:00
|
|
|
|
# Include the container-specific autogenerated configuration.
|
|
|
|
|
./lxd.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
|
|
|
|
networking.interfaces.eth0.useDHCP = true;
|
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
|
system.stateVersion = "@stateVersion@"; # Did you read the comment?
|
2023-10-09 19:29:22 +00:00
|
|
|
|
}
|