about summary refs log tree commit diff
path: root/nixos/maintainers/scripts/lxd/lxd-virtual-machine-image-inner.nix
blob: a8f2c63ac5c694bc4db59b5c855a768329e85d0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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’).

{ config, pkgs, lib, ... }:

{
  imports =
    [
      # Include the default lxd configuration.
      ../../../modules/virtualisation/lxd-virtual-machine.nix
      # Include the container-specific autogenerated configuration.
      ./lxd.nix
    ];

  networking.useDHCP = false;
  networking.interfaces.eth0.useDHCP = true;

  system.stateVersion = "23.05"; # Did you read the comment?
}