diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-02-27 01:14:14 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-02-27 01:14:14 -0800 |
commit | 0ec3ed3f3741f23b16f827a8de6257742cb454d5 (patch) | |
tree | 1ce6951036afc7c6c62b1afeaccaaad44aad99b2 /ginaz/configuration.nix | |
parent | e97acf6b51a17c35c950de712f71f85be48a59fe (diff) | |
download | nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar.gz nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar.bz2 nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar.lz nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar.xz nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.tar.zst nix-0ec3ed3f3741f23b16f827a8de6257742cb454d5.zip |
Add Google Authenticator
Diffstat (limited to '')
-rw-r--r-- | ginaz/configuration.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ginaz/configuration.nix b/ginaz/configuration.nix index ac85c26..8b19828 100644 --- a/ginaz/configuration.nix +++ b/ginaz/configuration.nix @@ -26,11 +26,14 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + bespokesynth curl dmenu feh geeqie git + google-authenticator + google-chrome i3 i3status netcat-openbsd @@ -44,9 +47,13 @@ stoken vim wget + winetricks + wineWowPackages.stagingFull xdotool xorg.xdpyinfo xscreensaver + yabridge + yabridgectl ]; i18n.defaultLocale = "en_US.UTF-8"; @@ -71,6 +78,20 @@ programs.tmux.enable = true; programs.zsh.enable = true; + security.pam.services = { + chfn.googleAuthenticator.enable = true; + chsh.googleAuthenticator.enable = true; + cups.googleAuthenticator.enable = true; + lightdm.googleAuthenticator.enable = true; + login.googleAuthenticator.enable = true; + other.googleAuthenticator.enable = true; + sshd.googleAuthenticator.enable = true; + su.googleAuthenticator.enable = true; + sudo.googleAuthenticator.enable = true; + vlock.googleAuthenticator.enable = true; + xlock.googleAuthenticator.enable = true; + xscreensaver.googleAuthenticator.enable = true; + }; security.polkit = { enable = true; extraConfig = '' |