Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.72 KB

README.md

File metadata and controls

57 lines (43 loc) · 2.72 KB

dotfiles

Home Status Home Status Nix Status CI - Go Status Container Status

Personal dotfiles that can be placed in the public repository
Also known as 盆栽(bonsai) 🌳

Installation - Linux(Ubuntu), Darwin

  1. Install Nix package manager with DeterminateSystems/nix-installer.
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  2. Make sure there is a nix directory that is used in the home-manager.
    This is a workaround, See the thread for detail
    mkdir -p ~/.local/state/nix/profiles
  3. Restart current shell to load Nix as a PATH
    bash
  4. Install home-manager and dotfiles
    nix run 'github:kachick/dotfiles#home-manager' -- switch -b backup --flake 'github:kachick/dotfiles#kachick'

Installation - Windows

Read the tips and CI

Note

If you are developing this repository, the simple reactivation is as follows.

makers apply

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

Using podmain 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.