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