skubcat / nixos

Personal NIXOS configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nixos

This is my set of configuration files for Nixos. I use these files across three separate computers:

  • A desktop with a graphics card and multiple monitors, where I sometimes run Windows games using QEMU + VIFO passthrough.
  • A Dell XPS13 laptop.
  • A home media server that uses zfs for its filesystem and Plex for serving media.

As part of this setup, I have tried to roll as many configurable programs into my configuration. You will find that the configs for i3, zsh, and neovim are all contained within this configuration, instead of ~/.

Installation

  • git clone this project to /etc/nixos/.
  • You may want to edit the config before rebuilding ( look in profiles/common.nix).
    • You will likely want to set the default keymapping to something other than Dvorak.
    • You will want to change the default user.
  • Set the appropriate features you want in configuration.nix by uncommenting the .nix files you wish to use.
  • Run sudo nixos-rebuild switch
  • Enjoy

Notable features

  • VFIO GPU passthrough to a VM. Should work out of the box.
  • Zsh configured with Prezto. Includes custom Powerline prompt.
  • LaTeX packages configured. This was harder than it sounds. Nixos's syntax for setting this up is not obvious.

Stuff that isn't working right now

  • Pulseaudio remote streaming.
  • Neovim setup is not ideal: some packages are missing or don't work (YouCompleteMe)
  • Rust isn't up to date in the standard nixos packages and currently is managed using nix-env instead of this configuration.

About

Personal NIXOS configuration


Languages

Language:Nix 90.3%Language:Shell 9.7%