Skip to content

My dotfiles ๐Ÿ“‚ for my backup laptop razor ๐ŸŸ 

License

Notifications You must be signed in to change notification settings

lovc21/dotfiles-razor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

79 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dotfiles and Programs for my Ubuntu machine named "razor"

Ansible CI Ansible Test secret-scan

Here, you can find my entire configuration and setup for my Ubuntu machine named "razor".

Fully automated, multi-OS development environment setup form scratch.

Table of Contents

Goal

The goal with my dotfiles is to just run one command and have a new system up and running with no manual setup.

Device Specifications

  • OS: Ubuntu 24.04 LTS
  • Standing screen display size: 15.6 inches
  • Screen resolution: 1920 ร— 1080 pixels
  • Max screen resolution: 1920 ร— 1080
  • Processor: AMD Ryzen 7 3750H @ 2.3 GHz
  • RAM: 24 GB DDR4
  • Memory speed: 2666 MHz
  • Disk capacity: 1 TB
  • Graphics coprocessor: NVIDIA GeForce GTX 1660 Ti
  • Chipset brand: NVIDIA
  • Card description: Dedicated
  • Graphics card RAM size: 16 GB

Overview

This repository is split into multiple components:

  • dot_bootstrap
    Ansible playbooks that install system packages, services and prerequisites on Ubuntu, Fedora & macOS.
  • dot_config
    Chezmoi-managed home-directory configurationโ€”shell, editor, GTK, terminal profiles, etc.
  • Scripts
    Scripts that are run on every machine startup.

With one command you can bootstrap a fresh machine and apply your complete dotfile configuration.

Quick Start

Run the following command to bootstrap a fresh machine:

Ubuntu

export GITHUB_USERNAME=lovc21; sudo apt update && sudo apt install -y git curl && sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAME

Fedora

export GITHUB_USERNAME=lovc21; sudo dnf install -y git curl; sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAME

MacOS

export GITHUB_USERNAME=lovc21; /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; brew install git curl; sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAME

Components

dot_bootstrap (Ansible)

  • main.yml: Detects OS and includes roles
  • roles/: Per-role tasks, each with Ubuntu.yml, Fedora.yml, MacOSX.yml
  • requirements/common.yml: Galaxy collections (e.g. community.general)

Run the bootstrap script:

  ansible-playbook -i hosts.ini dot_bootstrap/main.yml --connection=local --become --skip-tags=install_apps

Or run the run-once scripts:

  ./run_once_install_ansible.sh

dot_config (Chezmoi)

  • ghostty, lazydocker, lazygit: Application configs
  • nvim/: LazyVim template, lockfiles, Lua configuration, plugins and settings
  • private_gnome-control-center/: GNOME Terminal profile backup

Manage dotfiles with Chezmoi:

chezmoi diff   # Preview changes
chezmoi apply  # Apply to $HOME
chezmoi apply --dry-run  # Dry run

Inspiration

This repo was inspired by:

Thanks to all of you <3

License

This project is released under the WTFPL v2.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

  1. You just DO WHAT THE FUCK YOU WANT TO.

About

My dotfiles ๐Ÿ“‚ for my backup laptop razor ๐ŸŸ 

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors