Last active
November 20, 2025 10:44
-
-
Save n-studio/6b155fc18d0af020de0f934207cafd98 to your computer and use it in GitHub Desktop.
Revisions
-
n-studio revised this gist
Nov 20, 2025 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -52,6 +52,8 @@ protocol: efi_chainload image_path: boot():/EFI/Microsoft/Boot/bootmgfw.efi ``` 10. Enable lock screen ``` vim ~/.config/hypr/autosstart.conf exec-once = hyprlock exec-once = hypridle -time 120 -lock-command "hyprlock" ``` -
n-studio revised this gist
Nov 20, 2025 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,4 +50,8 @@ comment: Microsoft Windows Boot Manager comment: order-priority=20 protocol: efi_chainload image_path: boot():/EFI/Microsoft/Boot/bootmgfw.efi ``` 10. Enable lock screen vim ~/.config/hypr/autosstart.conf exec-once = hyprlock exec-once = hypridle -time 120 -lock-command "hyprlock" -
n-studio revised this gist
Nov 19, 2025 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,12 +42,12 @@ mkdir /mnt/win mount /dev/nvme0n1p1 /mnt/win cp -r /mnt/win/EFI/Microsoft /boot/EFI ``` 8. Reboot and login as user and run: `curl -fsSL https://omarchy.org/install | bash` 9. Add to /boot/limine.conf ``` /Windows comment: Microsoft Windows Boot Manager comment: order-priority=20 protocol: efi_chainload image_path: boot():/EFI/Microsoft/Boot/bootmgfw.efi ``` -
n-studio revised this gist
Nov 19, 2025 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,9 +23,9 @@ mkdir -p /mnt/archinstall/home mkdir -p /mnt/archinstall/var/cache/pacman/pkg mkdir -p /mnt/archinstall/var/log mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@home /dev/nvme0n1p5 /mnt/archinstall/home mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@pkg /dev/nvme0n1p5 /mnt/archinstall/var/cache/pacman/pkg mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@log /dev/nvme0n1p5 /mnt/archinstall/var/log mkdir -p /mnt/archinstall/boot mount /dev/nvme0n1p4 /mnt/archinstall/boot -
n-studio revised this gist
Nov 19, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ Here are the steps I used to install Omarchy in dual boot with Windows (inspired by https://www.youtube.com/watch?v=9jTk3K3ExaI): 1. Use iwctl to connect to wifi 2. `sfdisk /dev/nvme0n1` -> make 1 EFI partition (nvme0n1p4 - 1G), 1 Linux partition (nvme0n1p5 - remaining space) 3. Format ``` mkfs.vfat -F 32 /dev/nvme0n1p4 -
n-studio created this gist
Nov 19, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ Here are the steps I used to install Omarchy in dual boot with Windows (inspired by https://www.youtube.com/watch?v=9jTk3K3ExaI): 1. Use iwctl to connect to wifi 2. `fsdisk /dev/nvme0n1` -> make 1 EFI partition (nvme0n1p4 - 1G), 1 Linux partition (nvme0n1p5 - remaining space) 3. Format ``` mkfs.vfat -F 32 /dev/nvme0n1p4 mkfs.btrfs /dev/nvme0n1p5 ``` 4. Create subvolumes (not sure if optional or mandatory). Do NOT create a subvolume for snapshots, it will raise errors during archinstall. ``` mount /dev/nvme0n1p5 /mnt btrfs su cr /mnt/@ btrfs su cr /mnt/@home btrfs su cr /mnt/@pkg btrfs su cr /mnt/@log umount /mnt mkdir /mnt/archinstall mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@ /dev/nvme0n1p5 /mnt/archinstall mkdir -p /mnt/archinstall/home mkdir -p /mnt/archinstall/var/cache/pacman/pkg mkdir -p /mnt/archinstall/var/log mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@home /dev/nvme0n1p5/mnt/archinstall/home mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@pkg /dev/nvme0n1p5/mnt/archinstall/var/cache/pacman/pkg mount -o noatime,compress=zstd,discard=async,space_cache=v2,subvol=@log /dev/nvme0n1p5/mnt/archinstall/var/log mkdir -p /mnt/archinstall/boot mount /dev/nvme0n1p4 /mnt/archinstall/boot ``` 5. Run archinstall following https://learn.omacom.io/2/the-omarchy-manual/96/manual-installation, except; ``` Disk configuration -> Pre-Mounted configuration -> /mnt/archinstall Disk > Disk encryption > Disabled (I disabled it out of fear it could break something, but maybe it's possible to enable encryption) ``` 6. Chroot into the newly created installation 7. Copy the Windows EFI to the new EFI ``` mkdir /mnt/win mount /dev/nvme0n1p1 /mnt/win cp -r /mnt/win/EFI/Microsoft /boot/EFI ``` Add to /boot/limine.conf ``` /Windows comment: Microsoft Windows Boot Manager comment: order-priority=20 protocol: efi_chainload image_path: boot():/EFI/Microsoft/Boot/bootmgfw.efi ``` 8. Reboot and login as user and run: `curl -fsSL https://omarchy.org/install | bash`