fully disable DPMS and screen blanking
This commit is contained in:
parent
51d24fa43c
commit
d657c43851
2 changed files with 11 additions and 5 deletions
|
|
@ -27,6 +27,7 @@
|
||||||
# "nekoray"
|
# "nekoray"
|
||||||
# "obsidian"
|
# "obsidian"
|
||||||
# "planify"
|
# "planify"
|
||||||
|
# "xset s off -dpms" # Отменить затухание экрана через X минут
|
||||||
"spice-vdagent" # Для виртуалки
|
"spice-vdagent" # Для виртуалки
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
# Не совсем понял как менять тему в sddm. Но мне оно не надо. Оставлю ссылки
|
|
||||||
# https://www.reddit.com/r/NixOS/comments/14sb6s2/sddm_themes_finally_did_a_dumb_workaround/
|
|
||||||
# https://www.reddit.com/r/NixOS/comments/14dlvbr/sddm_theme/
|
|
||||||
|
|
||||||
|
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
services.displayManager = {
|
services.displayManager = {
|
||||||
|
|
@ -36,6 +31,16 @@
|
||||||
i3.enable = true; # i3-gaps доступен в стоке в новых версиях
|
i3.enable = true; # i3-gaps доступен в стоке в новых версиях
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fully disable DPMS and screen blanking
|
||||||
|
config = ''
|
||||||
|
Section "Extensions"
|
||||||
|
Option "DPMS" "false"
|
||||||
|
EndSection
|
||||||
|
Section "ServerFlags"
|
||||||
|
Option "BlankTime" "0"
|
||||||
|
EndSection
|
||||||
|
'';
|
||||||
|
|
||||||
xkb = {
|
xkb = {
|
||||||
layout = "us,ru";
|
layout = "us,ru";
|
||||||
variant = "";
|
variant = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue