aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-11-28 12:53:44 -0800
committerMark Nipper <nipsy@bitgnome.net>2025-11-28 12:53:44 -0800
commitbda8e266d133804b3024fdc607ddf263037c0f87 (patch)
tree6ce63e54824ccc59b26a195d95192682846daa53 /hosts/common
parent21e058fda85b931822918576e28e140f7990fb6f (diff)
downloadnix-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 '')
-rw-r--r--hosts/common/optional/google-authenticator.nix11
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;