Skip to content

BastianAsmussen/dotfiles

This branch is 1 commit ahead of, 185 commits behind master.

Folders and files

NameName
Last commit message
Last commit date
Aug 27, 2024
Sep 12, 2024
Nov 22, 2024
Aug 9, 2024
Nov 27, 2024
Nov 20, 2024
Nov 26, 2024
Oct 22, 2024
Aug 2, 2024
Nov 22, 2024
Nov 26, 2024
Nov 27, 2024
Nov 20, 2024

Repository files navigation

dotfiles

This is a repository for my NixOS configuration.

Table of Contents

Installation Guide

  1. Clone the Git repository.
nix-shell -p git

git clone https://github.com/BastianAsmussen/dotfiles.git ~/dotfiles
cd ~/dotfiles
  1. Set up the disk configuration, e.g. for limitless.
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- \
  --mode disko ~/dotfiles/hosts/limitless/disko-config.nix
  1. Install NixOS with the given configuration, e.g. limitless.
sudo nixos-install --flake ~/dotfiles#limitless
  1. Remember to change the password of the user!

Note

After installation it may be a requirement to update the channel to get command-not-found working properly.
To do so, run sudo nix-channel --update.

Maintenance Guide

  1. Update the flake.lock file about once per week.
nh os switch --update
  • If it can't build, roll back to a previous version.
git reset --hard HEAD

To-Do Tracking

I track stuff I need to get done and stuff that annoys me about my current setup in a file called TODO.md.
If you have suggestions or notice something that could be improved, feel free to open a pull request. I'll review and consider integrating your contributions.