Personal dotfiles that can be placed in the public repository
Also known as ç›†æ ½(bonsai) 🌳
If you are using the podman, You can test the pre-built container-image as follows.
bash <(curl -fsSL https://raw.githubusercontent.com/kachick/dotfiles/main/containers/sandbox-with-ghcr.bash) latest
For local use, replace s/PRESONA/user/
in following sections may fit.
- Install Nix package manager with DeterminateSystems/nix-installer.
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Make sure there is a nix directory that is used in the home-manager.
This is a workaround, See the thread for detailmkdir -p ~/.local/state/nix/profiles
- Restart current shell to load Nix as a PATH
bash
- Apply dotfiles for each use
nix run 'github:kachick/dotfiles#home-manager' -- switch -b backup --flake 'github:kachick/dotfiles#PERSONA'
Read the tips and CI
If you are developing this repository, the simple reactivation is as follows.
makers apply PERSONA
Using podman may require to install some dependencies without Nix
# "shadow" in nixpkg is not enough for podman - https://github.com/NixOS/nixpkgs/issues/138423
sudo apt-get install uidmap
If you encounter any errors in the above steps, Check and update CI and wiki.