This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Dotfiles

Personal configuration files with installation and comparison commands

    This project packages personal configuration files into an installable archive. Make and Bazel entry points compare the packaged files with the local system and install selected configurations.

    • Archive with dotfiles that can be installed using make
    bazel run //projects/dotfiles:help # Show help
    bazel run //projects/dotfiles:diff # Show diff
    bazel run //projects/dotfiles:install # Install files
    
    oras pull --output "${PWD}" docker.io/alwaldend/src:projects_dotfiles_dotfiles_tar_head
    cd releases/projects/dotfiles/head/files
    tar -xf dotfiles.tar
    cd dotfiles
    make help # Show help
    make diff # Check diff between system files and those from the archive
    make diff/nvim # Check diff for all nvim files
    make diff/nvim/.config/nvim/lazy-lock.json # Diff specific file
    make install # Install all files from the archive
    make install/nvim # Install nvim files
    make install/nvim/.config/nvim/lazy-lock.json # Install a specific file
    
    help: Show help
    install: Install files from the archive
    diff: Show diff between archive files and system files
    install/bin: Install bin files
    diff/bin: Diff bin files
    install/home: Install home files
    diff/home: Diff home files
    install/nvim: Install nvim files
    diff/nvim: Diff nvim files
    make: Nothing to be done for 'help'.