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

14 lines
159 B
Nix

{ ... }: {
text = ''
# Suspend system.
function slp() {
systemctl suspend -i
}
# Poweroff.
function bye() {
systemctl poweroff -i
}
'';
}