nixos/security.googleOsLogin: remove with lib;

This commit is contained in:
Felix Buehler 2024-12-08 13:18:22 +01:00
parent 89f9d95e02
commit 264f1b4941

View File

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