Compare commits

..

2 commits

Author SHA1 Message Date
Leon Schwarzäugl
1519305952
chore[server]: disable u2f for ssh
Some checks failed
Flake check / Check flake (push) Has been cancelled
2025-10-22 00:47:11 +02:00
Leon Schwarzäugl
b9f5c87aa0
chore[client]: notifications persist if needed 2025-10-22 00:46:49 +02:00
4 changed files with 18 additions and 12 deletions

View file

@ -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;
@ -13430,7 +13433,7 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
border-radius = 15; border-radius = 15;
border-size = 1; border-size = 1;
default-timeout = 5000; default-timeout = 5000;
ignore-timeout = 1; ignore-timeout = false;
icons = 1; icons = 1;
layer = "overlay"; layer = "overlay";
sort = "-time"; sort = "-time";
@ -14983,11 +14986,11 @@ This service changes the screen hue at night. I am not sure if that really does
enable = true; enable = true;
extraArgs = [ extraArgs = [
"-W" "-W"
" Consider charging the battery" " Consider charging the battery"
"-C" "-C"
" Battery is low; plug in charger now" " Battery is low; plug in charger now"
"-D" "-D"
" Device will lose power in a few seconds" " Device will lose power in a few seconds"
"-c" "-c"
"10" "10"
"-d" "-d"

View file

@ -9,11 +9,11 @@ in
enable = true; enable = true;
extraArgs = [ extraArgs = [
"-W" "-W"
" Consider charging the battery" " Consider charging the battery"
"-C" "-C"
" Battery is low; plug in charger now" " Battery is low; plug in charger now"
"-D" "-D"
" Device will lose power in a few seconds" " Device will lose power in a few seconds"
"-c" "-c"
"10" "10"
"-d" "-d"

View file

@ -8,7 +8,7 @@
border-radius = 15; border-radius = 15;
border-size = 1; border-size = 1;
default-timeout = 5000; default-timeout = 5000;
ignore-timeout = 1; ignore-timeout = false;
icons = 1; icons = 1;
layer = "overlay"; layer = "overlay";
sort = "-time"; sort = "-time";

View file

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