diff options
author | Izorkin <izorkin@elven.pw> | 2022-12-09 21:16:32 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2022-12-09 23:18:37 +0300 |
commit | 2b6bfed79c1082e0ab1aabac258f4785fa6fd659 (patch) | |
tree | 13e8527832c1ea700c5e8dd284c68b7ed1b94d49 /nixos/modules/virtualisation | |
parent | d4288c8e3ff5ada52390ae0bdd3de89a6054979c (diff) |
nixos/lxc-container: undo some of the minimal profile stuff
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/lxc-container.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index a71b693410518..4963d9f3f9e4f 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -51,8 +51,8 @@ in { imports = [ ../installer/cd-dvd/channel.nix - ../profiles/minimal.nix ../profiles/clone-config.nix + ../profiles/minimal.nix ]; options = { @@ -199,5 +199,11 @@ in # Containers should be light-weight, so start sshd on demand. services.openssh.enable = 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; }; } |