my nixos and home-manager config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nixos-config/.README.template.md

2.2 KiB

install

desktop

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/.config/nixpgs/home.nix

$ home-manager switch

desktop vfio

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration-vfio.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch # and probably reboot at this point

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/nixpgs/home.nix

$ home-manager switch

surface

You will also need nixos-surface

Builds are distributed to the builder host.

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration-surface.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/.config/nixpgs/home.nix

$ env CURRENT_HOST=surface home-manager switch

features

  • desktop
  • ms surface
  • vfio vm
  • Use the Desktop machine as a Parsec host to stream games to the Surface machine via a KVM Windows VM with VFIO GPU passthrough.
  • Sample virt-manager XML included in virt-manager/vfio-windows.xml. Works perfect with latest nvidia drivers and Parsec host.

screenshots

desktop

desktop screen

surface

desktop screen screen

vfio

screen screen

todos

  • update nixos-surface
    • kernel
    • libwacom
    • ipts firmware
  • DRY up
    • X/noX module
    • better way than env var deal with different hosts
  • create a module for 2x scaled wallpapers and only include x1 assets in repo and compile 2x assets at build on HiDPI screens
  • create a module to bootstrap win10 vfio qemu vm with virsh
    • win 10 iso dl
    • proxmox latest virtio drivers iso download
    • auto dump/patch gpu rom