0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos/udev: add enable option

This commit is contained in:
Sandro Jäckel 2022-10-26 11:18:36 +02:00 committed by Sandro Jäckel
parent 8191089900
commit 7fe3f63da6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 7 additions and 2 deletions

View file

@ -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";