add scripts
This commit is contained in:
@@ -21,4 +21,9 @@
|
||||
modesetting.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
efibootmgr
|
||||
(writeShellScriptBin "win" (builtins.readFile ./load_into_windows.sh))
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
sudo efibootmgr --bootorder $(sudo efibootmgr | grep Windows | awk '{print $1}' | sed 's/Boot//g' | sed 's/\*//g' | tr -d '\n') && sudo reboot
|
||||
Reference in New Issue
Block a user