Updated duo configuration
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
${builtins.readFile duoScript}
|
||||
'';
|
||||
in {
|
||||
systemd.user.services.watchBacklight = {
|
||||
systemd.services.watchBacklight = {
|
||||
description = "synchronize screen brightness";
|
||||
wantedBy = ["default.target"];
|
||||
path = [pkgs.inotify-tools];
|
||||
path = [pkgs.inotify-tools pkgs.sudo];
|
||||
serviceConfig = {
|
||||
ExecStart = "${modifiedDuoScript} watch-backlight";
|
||||
Restart = "always";
|
||||
@@ -27,7 +27,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.watchDisplays = {
|
||||
systemd.services.watchDisplays = {
|
||||
description = "set screens on keyboard event";
|
||||
wantedBy = ["default.target"];
|
||||
after = ["graphical-session.target"];
|
||||
@@ -39,7 +39,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.watchRotation = {
|
||||
systemd.services.watchRotation = {
|
||||
description = "rotate screens";
|
||||
wantedBy = ["default.target"];
|
||||
after = ["graphical-session.target"];
|
||||
|
||||
Reference in New Issue
Block a user