1
0
mirror of https://github.com/kmein/niveum synced 2026-03-28 23:31:07 +01:00

chore: nixfmt

This commit is contained in:
Kierán Meinhardt
2020-06-10 17:37:25 +02:00
parent 2c3957735b
commit d8a4d4eedf
90 changed files with 1461 additions and 985 deletions

View File

@@ -25,14 +25,15 @@ let
-invalid "Computer says no." \
-mode "$MODE"
'';
in
{
in {
services.xserver.xautolock = rec {
enable = true;
killer = if suspendIfBored then "${pkgs.systemd}/bin/systemctl suspend" else null;
killer =
if suspendIfBored then "${pkgs.systemd}/bin/systemctl suspend" else null;
locker = "${my-xlock}/bin/xlock";
nowlocker = locker;
enableNotifier = true;
notifier = ''${pkgs.libnotify}/bin/notify-send -u normal -a xautolock "Locking" "in 10 seconds."'';
notifier = ''
${pkgs.libnotify}/bin/notify-send -u normal -a xautolock "Locking" "in 10 seconds."'';
};
}