fixed lid close

nixos
Moritz Böhme 2021-09-12 15:12:11 +02:00
parent fd565c60b6
commit 1cb7683b29
2 changed files with 4 additions and 1 deletions

View File

@ -73,6 +73,9 @@
services.tlp.enable = true; services.tlp.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
# Suspend to disk instead of ram
services.logind.lidSwitch = "hibernate";
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View File

@ -27,5 +27,5 @@ bspc rule -a Emacs state=tiled
# AUTOSTART # # AUTOSTART #
[[ ! $(pidof -x sxhkd) ]] && sxhkd & [[ ! $(pidof -x sxhkd) ]] && sxhkd &
feh --bg-fill ~/.dotfiles/config/wallpaper/base.png feh --bg-fill ~/.config/wallpaper/dracula.png
systemctl --user start polybar systemctl --user start polybar