Skip to content

MAC T2 / ESXI / RPI5 nix flakes using Hyprland, AGS for Mac users, Based on End-4's dots. (WIP 99%)

License

Notifications You must be signed in to change notification settings

celesrenata/nix-flakes

Repository files navigation

ESXi for Nvidia passthroughs / Mac T2 / RPI5 Flakes

  • RPI5 flakes please switch to RPI5 branch

X86_64 Branch Features

  • Hyprland (Wayland)
  • Customized version of End-4's Dots for Hyprland
  • Mac Keybindings
  • Steam
  • ALVR
  • Customized Winapps with M365 (Bring your own Licenses!)
  • Jetbrains-Toolbox (for Wayland)
  • VSCode with Nix backend
  • Ollama built in! (T2 nnow supported!!!)
  • Suspend and Resume for T2 works!

Theming

  • img
  • img

Developing

  • img

Gaming

  • img

ESXI VM installation guide.

Installation Steps Via Netboot.xyz

  1. Boot virtual machine to netboot.xyz
    1. Select Linux Network Installs
    2. Select Nixos
    3. Select Nixos Unstable (or 24.05)
  2. Once booted, install git
    1. nix-shell -p git
  3. Follow the setup guide at https://nixos.wiki/wiki/NixOS_Installation_Guide stop before NixOS config
    1. sudo nixos-generate-config --root /mnt
    2. sudo mkdir -p /mnt/sources
    3. sudo chown 1000:100 /mnt/sources
    4. cd /mnt/sources
    5. git clone https://github.com/celesrenata/nix-flakes
    6. cp -r nix-flakes/* /mnt/etc/nixos/
    7. Consider creating your own branch to track changes from my base code for things like, your username
    8. sudo nixos-install --root /mnt --flake /mnt/etc/nixos#esnixi
    9. sudo nixos-enter
    10. sudo passwd celes
    11. sudo poweroff
  4. Map your video cards pci addresses
  5. disable svga head from virtual machine (mostly to not confuse the OS)
  6. Boot the virt
  7. Login from GDM.
  8. System will run a script and reboot.
  9. 'Command + Option + /' to open the cheatsheet.

Macland Installation

  1. Follow T2 Linux Installation guide First https://wiki.t2linux.org/distributions/nixos/home/
  2. Once booted, install git
  3. If you cannot get wifi or bluetooth to start, try https://wiki.t2linux.org/guides/wifi-bluetooth/
    1. nix-shell -p git
  4. Follow the setup guide at https://nixos.wiki/wiki/NixOS_Installation_Guide stop before NixOS config
    1. sudo nixos-generate-config --root /mnt
    2. sudo mkdir -p /mnt/sources
    3. sudo chown 1000:100 /mnt/sources
    4. cd /mnt/sources
    5. git clone https://github.com/celesrenata/nix-flakes
    6. cp -r nix-flakes/* /mnt/etc/nixos/
    7. copy the firmware from the previous step to /mnt/etc/nixos/macland/firmware
    8. Consider creating your own branch to track changes from my base code for things like, your username
    9. sudo nixos-install --root /mnt --flake /mnt/etc/nixos#macland
    10. sudo nixos-enter
    11. sudo passwd celes
    12. sudo poweroff
  5. Login from GDM.
  6. System will run a script and reboot.
  7. On second reboot, please try to leave it running for however long it takes for http://127.0.0.1:8006 to complete!
  8. Once complete, run ~/winapps/runmefirst.sh to setup Office 365
  9. run 'command' + 'control' + 'R' to refresh xdg apps from the installation
  10. Run 'windows' from spotlight and login to your office 365 account
    • Keep in mind, if any of the winapps do not start, you can run 'windows' to clear the session state, logout, and then run the app'
    • I will look into this! It may need another update from freerdp

Limitations

  • Tiny-DFR is looking for keycode 464, howevery keyd resets the keycode to 254, so it doesn't currently work outside of f-keys
  • Jetbrains currently requires a shim that can be activated by restarting AGS or logging out ('command' + 'control' + 'R') and only supports 2024.2 onwards!
  • Winapps not immediately available for ESXI or RPI5
    • ESXI does not allow passing of virtualization with an active PCI passthrough, you will need to stand up a new VM on your own and adapt .config/winapps/winapps.conf
    • RPi5 is not fast enough to reliably cut a slice out of, I did try, and yes if you use 'dockur/windows-arm' you indeed can do everything on the RPi5 (or a better aarch64 platform).

About

MAC T2 / ESXI / RPI5 nix flakes using Hyprland, AGS for Mac users, Based on End-4's dots. (WIP 99%)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages