Skip to content

Bricktech2000/dotfiles

Repository files navigation

dotfiles

A repository of my dotfiles

Repository Creation

To create a similar dotfiles repository, add the following to your shell config:

alias dot='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'

Then, run the following commands:

git init --bare ~/dotfiles
echo "dotfiles" >> ~/.gitignore
dot config --local status.showUntrackedFiles no

dot add .gitignore
dot commit -m "initial commit"
dot remote add origin <repo-url>
dot push -u origin master

mv /etc/nixos/ ~/.nixos # on NixOS
ln -s ~/.nixos/ /etc/nixos # on NixOS

Installation

To clone these dotfiles to your machine, add the following to your shell config:

alias dot='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'

Then, run the following commands:

git clone --bare <repo-url> ~/dotfiles
dot config --local status.showUntrackedFiles no

dot checkout

ln -s ~/.nixos/ /etc/nixos # on NixOS

If you are not using NixOS, additional configuration may be required. If anything behaves incorrectly, read over the .nixos configuration files and run equivalent commands manually.

Inspiration

About

A repository of my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published