lol

nixos/tests/common/auto.nix: get rid of `with lib`

+3 -16
+3 -16
nixos/tests/common/auto.nix
··· 1 1 { config, lib, ... }: 2 2 3 - with lib; 4 - 5 3 let 6 - 7 4 dmcfg = config.services.xserver.displayManager; 8 5 cfg = config.test-support.displayManager.auto; 9 - 10 6 in 11 - 12 7 { 13 8 14 9 ###### interface 15 10 16 11 options = { 17 - 18 12 test-support.displayManager.auto = { 19 - 20 - enable = mkOption { 13 + enable = lib.mkOption { 21 14 default = false; 22 15 description = lib.mdDoc '' 23 16 Whether to enable the fake "auto" display manager, which ··· 27 20 ''; 28 21 }; 29 22 30 - user = mkOption { 23 + user = lib.mkOption { 31 24 default = "root"; 32 25 description = lib.mdDoc "The user account to login automatically."; 33 26 }; 34 - 35 27 }; 36 - 37 28 }; 38 - 39 29 40 30 ###### implementation 41 31 42 - config = mkIf cfg.enable { 43 - 32 + config = lib.mkIf cfg.enable { 44 33 services.xserver.displayManager = { 45 34 lightdm.enable = true; 46 35 autoLogin = { ··· 62 51 63 52 session include lightdm 64 53 ''; 65 - 66 54 }; 67 - 68 55 }