nixos/lxc-container: undo some of the minimal profile stuff
This commit is contained in:
parent
d4288c8e3f
commit
2b6bfed79c
3 changed files with 7 additions and 11 deletions
|
@ -94,9 +94,4 @@ with lib;
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "21.05"; # Did you read the comment?
|
||||||
|
|
||||||
# As this is intended as a stadalone image, undo some of the minimal profile stuff
|
|
||||||
documentation.enable = true;
|
|
||||||
documentation.nixos.enable = true;
|
|
||||||
environment.noXlibs = false;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,4 @@ with lib;
|
||||||
# Network
|
# Network
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.eth0.useDHCP = true;
|
networking.interfaces.eth0.useDHCP = true;
|
||||||
|
|
||||||
# As this is intended as a standalone image, undo some of the minimal profile stuff
|
|
||||||
documentation.enable = true;
|
|
||||||
documentation.nixos.enable = true;
|
|
||||||
environment.noXlibs = false;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,8 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../installer/cd-dvd/channel.nix
|
../installer/cd-dvd/channel.nix
|
||||||
../profiles/minimal.nix
|
|
||||||
../profiles/clone-config.nix
|
../profiles/clone-config.nix
|
||||||
|
../profiles/minimal.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
@ -199,5 +199,11 @@ in
|
||||||
# Containers should be light-weight, so start sshd on demand.
|
# Containers should be light-weight, so start sshd on demand.
|
||||||
services.openssh.enable = mkDefault true;
|
services.openssh.enable = mkDefault true;
|
||||||
services.openssh.startWhenNeeded = mkDefault true;
|
services.openssh.startWhenNeeded = mkDefault true;
|
||||||
|
|
||||||
|
# As this is intended as a standalone image, undo some of the minimal profile stuff
|
||||||
|
environment.noXlibs = false;
|
||||||
|
documentation.enable = true;
|
||||||
|
documentation.nixos.enable = true;
|
||||||
|
services.logrotate.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue