My dotfiles for nixos
Gone are the days of having to reconfigure your Arch install because your last one broke.
NixOS is a declarative operating system that allows you to create perfectly reproducible systems that can be installed in just a single command
- Easily revert to previous configurations through bootloader
- Reproducable system
- Central location for system and user configuration
- nixpkgs is a massive package repo
- High learning curve
- The read-only system can be hard to adjust to
Basically Nix can take a while to learn and setup, but once you figure it out you never have to waste time configuring one of your systems again
- window manager - hyprland
- widget suite (my own Astal app) - saturn
- theme - catppuccin macchiato for basically everything
- terminal - kitty
- shell - zsh with powerlevel10k
- file manager - dolphin
Looking for something else? Use the GitHub search function or browse the files split into categories
-
Download the NixOS ISO file
-
Flash the ISO to a USB and install NixOS until you get to
nixos-install
A install guide can be found here
-
Clone this repo
-
Replace
hardware-configuration.nix
with the one you generated (If you skip this step, your system will not boot) -
Edit
configuration.nix
if you want to change your username or other settings -
Run
nixos-install --flake .#nixos
-
Reboot and enjoy!
Builds are made after every commit using a GitHub action and uploaded to Cachix.
When building the config, Nix will check to see if the derivations are in the cache and will just copy them instead of rebuilding. This saves significant time when building or updating on a system