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

14 lines
159 B
Nix
Raw Normal View History

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