Skip to content

skiletro/nixfiles

Repository files navigation


nixfiles

Screenshot last updated December 28th, 2023

My dotfiles that I used on my arch-based system can be found here, and are a basis for a lot of the configuration here! If you don't use NixOS, you can probably find a more standard config for the thing you are looking for over there.

Goals

  • Prioritises Wayland - No or very minimal X11 components
  • Form over Function - While appearance is extremely important, function comes first. I try to avoid spending all my time ricing nowadays so if possible, I'll just use someone elses theming.

Installation Guide

Please note that this flake is pretty specialised for my use case, and you would probably be better off just stealing the parts you like and then encorporating that into your own flake. This install guide is here just for reference (and because I forget how to do this sometimes).

First, install NixOS onto your target system using a live USB, setting the username to jamie. Once you have done this, run the following commands as the jamie user...

nix-shell -p git neovim alejandra # Required to fetch this config, and to edit it.
git clone https:/github.com/skiletro/nixfiles ~/.nix_config && cd ~/.nix_config
mkdir hosts/$your_hostname
cp /etc/nixos/configuration.nix hosts/$your_hostname/default.nix
cp /etc/nixos/hardware-configuration.nix hosts/$your_hostname/
nvim hosts/$your_hostname/default.nix # Change the networking hostname to $your_hostname. You'll probably want to remove any options that may conflict with the common/ options.
nvim flake.nix # Add a new entry for this hostname under `nixosConfigurations`
alejandra . # Makes sure everything is formatted correctly, and catches any obvious errors.
git add . # Stage everything so Nix doesn't freak out
sudo nixos-rebuild boot --flake .#$your_hostname

...and reboot!

Issues

  • none right now!

Todo

  • none right now!

Acknowledgements

If you can help with any of this stuff, please do a pull request as I am still learning!