mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
Compare commits
2 commits
4c06f00555
...
1519305952
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1519305952 | ||
|
|
b9f5c87aa0 |
4 changed files with 18 additions and 12 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;
|
||||||
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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