nix/home/program/bash/module/Power.nix

15 lines
179 B
Nix
Raw Normal View History

{ ... }:
{
text = ''
# Suspend system.
function slp() {
systemctl suspend -i
}
2024-04-06 03:03:58 +03:00
# Poweroff.
function bye() {
systemctl poweroff -i
}
'';
2024-04-06 03:03:58 +03:00
}