Sleep changes
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
powertop.enable = true;
|
powertop.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.resumeDevice = "/dev/disk/by-label/swap";
|
||||||
|
|
||||||
hardware.acpilight.enable = true;
|
hardware.acpilight.enable = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@@ -35,6 +37,10 @@
|
|||||||
tapping = true;
|
tapping = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
logind = {
|
||||||
|
lidSwitch = "suspend-then-hibernate";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,6 +161,7 @@
|
|||||||
screen-locker = {
|
screen-locker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lockCmd = "${pkgs.i3lock}/bin/i3lock -i /home/daniel/wallpapers/lock.png";
|
lockCmd = "${pkgs.i3lock}/bin/i3lock -i /home/daniel/wallpapers/lock.png";
|
||||||
|
inactiveInterval = 60;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user