feat: add gnome-bedtime

This commit is contained in:
Felix Schröter 2023-01-12 23:50:21 +01:00
parent d289602d0b
commit 1bdf1fd9bd
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 8 additions and 0 deletions

View file

@ -22,6 +22,7 @@
done
'';
}))
gnome-bedtime
];
services.xserver.displayManager.gdm.enable = true;

View file

@ -13,6 +13,7 @@ in {
"pop-shell@system76.com"
"native-window-placement@gnome-shell-extensions.gcampax.github.com" # works better with pop-shell
"appindicatorsupport@rgcjonas.gmail.com"
"gnomebedtime@ionutbortis.gmail.com"
];
favorite-apps = [ "org.gnome.Nautilus.desktop" "firefox.desktop" ];
};
@ -95,5 +96,11 @@ in {
terminal = [ "<Super>t" ];
rotate-video-lock-static = [ ];
};
"org/gnome/shell/extensions/bedtime-mode" = {
ondemand-button-location = "menu";
automatic-schedule = true;
schedule-start-hours = 22;
schedule-end-hours = 6;
};
};
}