add scripts

This commit is contained in:
2025-12-27 04:55:44 +03:00
parent c8839b737e
commit 12d1cce41a
10 changed files with 134 additions and 30 deletions
+5
View File
@@ -21,4 +21,9 @@
modesetting.enable = true;
};
environment.systemPackages = with pkgs; [
efibootmgr
(writeShellScriptBin "win" (builtins.readFile ./load_into_windows.sh))
];
}
+1
View File
@@ -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
+18
View File
@@ -12,4 +12,22 @@
}];
boot.resumeDevice = "/dev/nvme0n1p2";
# --- Temp sections for testing purposes ---
# services.pipewire = {
# enable = true;
# alsa.enable = true;
# pulse.enable = true;
# alsa.support32Bit = true;
# };
# environment.systemPackages = with pkgs; [
# pavucontrol
# qpwgraph
# paprefs
# helvum
# ];
# programs.dconf.enable = true;
}