Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 692 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 692 Bytes

My Dotfiles on Arch Linux

Installation

git clone --bare 'https://github.com/kenrendell/dotfiles.git' "${HOME}/.dotfiles"
alias dotfiles='git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME"'
dotfiles config status.showUntrackedFiles no
dotfiles checkout

Installing Nix Packages

# Allow non-free nix packages
export NIXPKGS_ALLOW_UNFREE=1

# Build and install nix packages
nix run --impure "${XDG_CONFIG_HOME}/nix/pkgs#profile.switch"

# Update nix packages
nix flake update --flake "${XDG_CONFIG_HOME}/nix/pkgs"
nix run --impure "${XDG_CONFIG_HOME}/nix/pkgs#profile.switch"

See Declarative profiles with Nix flakes