porcorosso: add 'windows' script for rebooting to windows
This commit is contained in:
parent
823eab4775
commit
84b964fffd
1 changed files with 9 additions and 0 deletions
|
@ -98,6 +98,15 @@ in {
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
deluge
|
deluge
|
||||||
|
(writeShellScriptBin "windows" ''
|
||||||
|
set -ue
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
exec sudo "$0" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
efibootmgr -n 0001
|
||||||
|
systemctl reboot
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
#hardware.nvidia.prime.offload.enable = true;
|
#hardware.nvidia.prime.offload.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue