Skip to content

Commit

Permalink
feat(bootloader): add archlinux menu entry
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed May 31, 2024
1 parent 3ad03d5 commit 4443a9b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,34 @@
"cSpell.words": [
"ahci",
"bootloader",
"bootmgfw",
"catppuccin",
"chainloader",
"direnv",
"ehci",
"Filesystems",
"flatpak",
"Hyprland",
"insmod",
"jetbrains",
"menuentry",
"neovim",
"nerdfonts",
"nixos",
"nixpkgs",
"nvim",
"nvme",
"optimise",
"partlabel",
"pkgs",
"polkit",
"Redistributable",
"substituters",
"swraid",
"thalheim",
"togglable",
"usbhid",
"vfat",
"xhci",
"zoxide"
],
Expand Down
11 changes: 10 additions & 1 deletion hosts/pc/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,22 @@
device = "/dev/md/storage";
};

# TODO: Temp, remove when full transision to NixOS is done.
# TODO: Temp, remove when full transition to NixOS is done.
fileSystems."/media/arch" = {
device = "/dev/disk/by-uuid/0db30fcb-b052-4ef0-9c08-1382d82b4eb5";
};

swapDevices = [{device = "/dev/disk/by-partlabel/swap";}];

modules.hardware.grub.extraEntries = ''
menuentry "Arch Linux" --class arch {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 5BCB-27B7
linux /vmlinuz-linux root=UUID=0db30fcb-b052-4ef0-9c08-1382d82b4eb5
initrd /initramfs-linux.img
}
menuentry "Windows" --class windows {
insmod part_gpt
insmod fat
Expand Down

0 comments on commit 4443a9b

Please sign in to comment.