Our nixos dotfiles
PROGRAMS YOU RUN WITH THESE DOTFILES MAY BE BROKEN OR NOT WORK. IF SO TRY REMOVING BITS OF YOUR ~/.config/ DIRECTORY UNTIL CERTAIN APPLICATIONS RUN PROPERLY.
These instructions will start from the very beginning and walk you through every portion of the setup process step-by-step.
- Download the Graphical ISO image of NixOS
- Install NixOS to your computer
- YOU MUST USE THE No Desktop OPTION WHEN SELECTING A DESKTOP
- I also recommend you encrypt your drive as this setup has autologin and does not require a password for the desktop
- Any other options are up to your discretion.
- Boot into your computer on the TTY(Terminal) interface
- Start installing the dotfiles
- First you should save a backup of your
configuration.nixfile and~/.config/folder- This is so you can recover your OS if something stops working afterwards
- Let's install some nix channels, because we can't keep anything simple.
- First check which channels exist with:
sudo nix-channel --list sudo nix-channel --remove nixossudo nix-channel --remove nixpkgs(ONLY IF THEnixpkgsCHANNEL EXISTS)sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixossudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgssudo nix-channel --add https://nixos.org/channels/nixos-24.11 nixos-24.11sudo nix-channel --add https://nixos.org/channels/nixos-25.11 nixos-25.11sudo nix-channel --update
- First check which channels exist with:
- Now copy the
configuration.nixfrom the repo to/etc/nixos/configuration.nix- IMPORTANT: REMEMBER TO REPLACE EVERY INSTANCE OF THE USERNAME
red40systemWITH YOUR USERNAMECtrl + Fis the hotkey to search for a phrase- Once you have found an instance of
red40systemyou replace it with your username - Repeat until
Ctrl + Fprovides no more instances
- IMPORTANT: REMEMBER TO REPLACE EVERY INSTANCE OF THE USERNAME
- Now copy the
.configfolder from the repo to~/.config/cp -r -f <path-to-repo-folder>/.config/* ~/.config/
- Run
sudo nixos-rebuild switchand look for errors, if you run into errors restore the backup you made earlier. - Reboot
- First you should save a backup of your
- Still not done!
- You may have booted into your Desktop Environment now but there's still some work to do.
- Install relevant flatpaks
flatpak install app.zen_browser.zenflatpak install org.mozilla.thunderbird
- Set up your home folders
- This setup is prepared for the following home folders
- Pictures
- Documents
- Audio
- Downloads
- This setup is prepared for the following home folders
- Set up your wallpaper folder
- Inside of the Pictures folder should be a folder called
Wallpapersthat noctalia-shell will be looking for
- Inside of the Pictures folder should be a folder called
- Install relevant flatpaks
- You may have booted into your Desktop Environment now but there's still some work to do.