diff options
| author | Mark Nipper <nipsy@bitgnome.net> | 2025-11-28 12:53:44 -0800 |
|---|---|---|
| committer | Mark Nipper <nipsy@bitgnome.net> | 2025-11-28 12:53:44 -0800 |
| commit | bda8e266d133804b3024fdc607ddf263037c0f87 (patch) | |
| tree | 6ce63e54824ccc59b26a195d95192682846daa53 /hosts/common/optional | |
| parent | 21e058fda85b931822918576e28e140f7990fb6f (diff) | |
| download | nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar.gz nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar.bz2 nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar.lz nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar.xz nix-bda8e266d133804b3024fdc607ddf263037c0f87.tar.zst nix-bda8e266d133804b3024fdc607ddf263037c0f87.zip | |
Fix authentication for xscreensaver
Diffstat (limited to 'hosts/common/optional')
| -rw-r--r-- | hosts/common/optional/google-authenticator.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/common/optional/google-authenticator.nix b/hosts/common/optional/google-authenticator.nix index 721346e..7b78521 100644 --- a/hosts/common/optional/google-authenticator.nix +++ b/hosts/common/optional/google-authenticator.nix @@ -1,9 +1,12 @@ { pkgs, ... }: { - environment.systemPackages = [ - #pkgs.other - pkgs.google-authenticator - ]; + environment = { + etc."pam.d/xscreensaver".target = "/etc/static/pam.d/xlock"; + systemPackages = [ + #pkgs.other + pkgs.google-authenticator + ]; + }; security.pam.services = { chfn.googleAuthenticator.enable = true; |
