diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-10-30 19:58:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 19:58:23 +0100 |
commit | 00bde1ac69b572f56ca461a76d8f1db59b29da0f (patch) | |
tree | 8748c5857f65732eef1954d9a2a2e6a83ca1c440 /nixos/modules/virtualisation | |
parent | 41a569d1980314c90431f1fe0a19639aa1b15309 (diff) | |
parent | 7fe3f63da657f852a93a31108b6d058c68af884d (diff) |
Merge pull request #197870 from SuperSandro2000/udev-enable
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/container-config.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index 94f28ea80d094..a7f5044fb9cdb 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -16,6 +16,9 @@ with lib; # Containers should be light-weight, so start sshd on demand. services.openssh.startWhenNeeded = mkDefault true; + # containers do not need to setup devices + services.udev.enable = false; + # Shut up warnings about not having a boot loader. system.build.installBootLoader = lib.mkDefault "${pkgs.coreutils}/bin/true"; |