From 264f1b4941e47fc2c26932d65500c73d664952d9 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 8 Dec 2024 13:18:22 +0100 Subject: [PATCH] nixos/security.googleOsLogin: remove `with lib;` --- nixos/modules/security/google_oslogin.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos/modules/security/google_oslogin.nix b/nixos/modules/security/google_oslogin.nix index 227e3b5bc4b9..42dd3b22a005 100644 --- a/nixos/modules/security/google_oslogin.nix +++ b/nixos/modules/security/google_oslogin.nix @@ -1,7 +1,4 @@ { config, lib, pkgs, ... }: - -with lib; - let cfg = config.security.googleOsLogin; @@ -13,8 +10,8 @@ in options = { - security.googleOsLogin.enable = mkOption { - type = types.bool; + security.googleOsLogin.enable = lib.mkOption { + type = lib.types.bool; default = false; description = '' Whether to enable Google OS Login. @@ -32,7 +29,7 @@ in }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { security.pam.services.sshd = { makeHomeDir = true; googleOsLoginAccountVerification = true;