nixos 26.05
This commit is contained in:
parent
246ce7eeb1
commit
2397049d74
10 changed files with 102 additions and 156 deletions
|
|
@ -6,7 +6,7 @@
|
|||
in
|
||||
{
|
||||
enable = true;
|
||||
systemdTarget = "graphical-session.target";
|
||||
systemdTargets = [ "graphical-session.target" ];
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 30;
|
||||
|
|
@ -17,11 +17,8 @@
|
|||
command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.playerctl}/bin/playerctl pause; ${lock-command}";
|
||||
}
|
||||
];
|
||||
events = {
|
||||
before-sleep = "${pkgs.playerctl}/bin/playerctl pause; ${lock-command}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue