mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
chore[server]: disable u2f for ssh
Some checks failed
Flake check / Check flake (push) Has been cancelled
Some checks failed
Flake check / Check flake (push) Has been cancelled
This commit is contained in:
parent
b9f5c87aa0
commit
1519305952
2 changed files with 10 additions and 4 deletions
|
|
@ -4799,8 +4799,11 @@ Needed for control over system-wide privileges etc. Also I make sure that the ro
|
||||||
pam.services = lib.mkIf (!minimal) {
|
pam.services = lib.mkIf (!minimal) {
|
||||||
login.u2fAuth = true;
|
login.u2fAuth = true;
|
||||||
sudo.u2fAuth = true;
|
sudo.u2fAuth = true;
|
||||||
swaylock.u2fAuth = true;
|
sshd.u2fAuth = false;
|
||||||
swaylock.fprintAuth = false;
|
swaylock = {
|
||||||
|
u2fAuth = true;
|
||||||
|
fprintAuth = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
polkit.enable = lib.mkIf (!minimal) true;
|
polkit.enable = lib.mkIf (!minimal) true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,11 @@
|
||||||
pam.services = lib.mkIf (!minimal) {
|
pam.services = lib.mkIf (!minimal) {
|
||||||
login.u2fAuth = true;
|
login.u2fAuth = true;
|
||||||
sudo.u2fAuth = true;
|
sudo.u2fAuth = true;
|
||||||
swaylock.u2fAuth = true;
|
sshd.u2fAuth = false;
|
||||||
swaylock.fprintAuth = false;
|
swaylock = {
|
||||||
|
u2fAuth = true;
|
||||||
|
fprintAuth = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
polkit.enable = lib.mkIf (!minimal) true;
|
polkit.enable = lib.mkIf (!minimal) true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue