add wake-on-lan command as a program
This commit is contained in:
parent
ae8c5b8c35
commit
8b331dae79
2 changed files with 8 additions and 1 deletions
|
|
@ -39,6 +39,10 @@
|
||||||
echo "Starting sshd on port 8022"
|
echo "Starting sshd on port 8022"
|
||||||
${pkgs.openssh}/bin/sshd
|
${pkgs.openssh}/bin/sshd
|
||||||
'')
|
'')
|
||||||
|
(pkgs.writeShellScriptBin "wake-ymir" ''
|
||||||
|
echo waking up ymir
|
||||||
|
${pkgs.wakeonlan}/bin/wakeonlan 04:7c:16:e6:d9:13
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
# Backup etc files instead of failing to activate generation if a file already exists in /etc
|
# Backup etc files instead of failing to activate generation if a file already exists in /etc
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,10 @@
|
||||||
htop
|
htop
|
||||||
unzip
|
unzip
|
||||||
tlrc
|
tlrc
|
||||||
wakeonlan
|
(pkgs.writeShellScriptBin "wake-ymir" ''
|
||||||
|
echo waking up ymir
|
||||||
|
${pkgs.wakeonlan}/bin/wakeonlan 04:7c:16:e6:d9:13
|
||||||
|
'')
|
||||||
btop
|
btop
|
||||||
pciutils
|
pciutils
|
||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue