dotfiles
Here lies the dotfiles
crafted with much care
A glance at what is present in this lair.
Name | What I am using (NixOS) | What I am using (Mac) |
---|---|---|
OS | NixOS | macOS |
Terminal Emulator | Kitty | Kitty |
Shell | Nu Shell | Nu Shell |
Font | Hack Nerd Font Mono | Hack Nerd Font Mono |
Editor | Neovim | Neovim |
XMonad, | ||
Taffybar, | ||
picom, | ||
Desktop Environment | betterlockscreen | Whatever comes with Mac |
rofi, | ||
deadd, | ||
eww, | ||
etc | ||
Browser | Firefox | Firefox |
User environment manager | Home Manager | Home Manager |
dotfiles
mateOk so I am one of those people who are all in on the "nix hype train". That is why this might look unfamiliar to someone who does not know what nix is.
Nix is a philosophy, a programming language, a package manager and an OS. All this culminates in a unique approach to package management and system configuration. The end result is reproducible, declarative and reliable systems.
Think of it like git but for your system, package management, etc.
:mind_blown:
Now if you are still with me and want to know more about it. Here are a few helpful links that you can visit to know more about it.
Note: This distro of Linux is quite different from others, so please do spend some time with it.
Here is a walkthrough of what are the steps one need to take to get this config or parts of it setup on any system.
~/.dotfiles
cd
into ~/.dotfiles
nix run home-manager --no-write-lock-file -- switch --flake "./#nixos"
NIXBOOT
NIXROOT
NIXSWAP
curl
, git
, etc.~/.dotfiles
cd
into ~/.dotfiles
sudo nixos-rebuild switch --flake './#nixos'
nix run home-manager --no-write-lock-file -- switch --flake "./#nixos"
I make use of git-crypt on files in the
.secrets
folder. If you plan to use these dotfiles then you will either have
to replace those files with what you need or remove references to these files
from the codebase.
flake.nix
file and start reading it from the top.