{"id":27103877,"url":"https://github.com/d4rkb4sh8/dotfiles_debian","last_synced_at":"2026-04-02T03:03:40.073Z","repository":{"id":260276776,"uuid":"880791751","full_name":"d4rkb4sh8/dotfiles_debian","owner":"d4rkb4sh8","description":"A collection of my dotfiles used to manage my Debian Linux environment. ","archived":false,"fork":false,"pushed_at":"2025-07-05T00:17:45.000Z","size":178592,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T01:28:53.482Z","etag":null,"topics":["debian","debian-linux","dotfiles","dotfiles-linux","fastfetch","ghostty","kanata","keyboard","lazyvim","linux"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d4rkb4sh8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-30T11:16:51.000Z","updated_at":"2025-07-05T00:18:00.000Z","dependencies_parsed_at":"2024-10-30T14:29:28.358Z","dependency_job_id":"50c63d05-4017-4c80-9321-86c538c0e694","html_url":"https://github.com/d4rkb4sh8/dotfiles_debian","commit_stats":null,"previous_names":["d4rkb4sh8/dotfiles","d4rkb4sh8/dotfiles_debian"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d4rkb4sh8/dotfiles_debian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4rkb4sh8%2Fdotfiles_debian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4rkb4sh8%2Fdotfiles_debian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4rkb4sh8%2Fdotfiles_debian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4rkb4sh8%2Fdotfiles_debian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d4rkb4sh8","download_url":"https://codeload.github.com/d4rkb4sh8/dotfiles_debian/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4rkb4sh8%2Fdotfiles_debian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","debian-linux","dotfiles","dotfiles-linux","fastfetch","ghostty","kanata","keyboard","lazyvim","linux"],"created_at":"2025-04-06T17:20:26.416Z","updated_at":"2026-04-02T03:03:39.791Z","avatar_url":"https://github.com/d4rkb4sh8.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Debian Bootstrap and Backup Scripts\n\nThese scripts automate the setup and restoration of a customized Debian system, ensuring a reproducible environment across installations. They handle package management, configurations, theming, security, and more.\n\n## Features\n\n- **System Setup**: Installs essential tools (Git, curl, etc.), removes bloatware, and configures repositories.\n- **Dotfiles Management**: Clones and symlinks dotfiles using `stow`.\n- **Package Installation**: Installs APT, Flatpak, Snap, Homebrew, and Cargo packages from predefined lists.\n- **Customization**: Applies themes (GRUB, icons), shell enhancements (`ble.sh`, Starship), and fonts.\n- **Security**: Configures UFW firewall, AppArmor profiles, and kernel mitigations.\n- **Backup \u0026 Restore**: Captures installed packages and GNOME settings for future replication.\n\n---\n\n## `bootstrap.sh` Overview\n\nAutomates the entire system setup process. Key sections:\n\n```bash\n# Initial Setup\nsudo apt install -y git gh curl gawk cmake\nsudo sed -i '/^deb / s/$/ contrib non-free/' /etc/apt/sources.list\n\n# Remove Bloatware\nsudo apt purge -y audacity gimp gnome-games libreoffice*\n\n# Dotfiles and Git Projects\ngit clone https://github.com/d4rkb4sh8/dotfiles.git $HOME/dotfiles\nstow --adopt . \u0026\u0026 git restore .\n\n# Package Installation (APT, Flatpak, Snap, Homebrew)\nsudo apt install $(cat $HOME/dotfiles/backups/apt_list.bak)\nflatpak install $(cat $HOME/dotfiles/backups/flatpaks_list.bak)\nbrew install $(cat $HOME/dotfiles/backups/brew_list.bak)\n\n# Shell Customization\necho 'source ~/.local/share/blesh/ble.sh' \u003e\u003e~/.bashrc\ncurl -sS https://starship.rs/install.sh | sh\n\n# Security and Kernel\nsudo ufw enable\nsudo sed -i 's/^GRUB_TIMEOUT=.*/GRUB_TIMEOUT=2/' /etc/default/grub\n\n# Final Steps\ndconf load / \u003c$HOME/dotfiles/backups/gnome_settings.bak\nsudo reboot\n```\n\n---\n\n## `settings_backup.sh` Overview\n\nCaptures current system settings and installed packages for reproducibility:\n\n```bash\n# Backups include:\ndconf dump / \u003e gnome_settings.bak          # GNOME configurations\napt list --installed \u003e apt_list.bak        # APT packages\nflatpak list --app \u003e flatpaks_list.bak     # Flatpak apps\nbrew list -1 \u003e brew_list.bak               # Homebrew packages\nsnap list \u003e snap_list.bak                  # Snap packages\n```\n\n---\n\n## Reproducibility Workflow\n\n1. **Backup**: Run `settings_backup.sh` to save the current system state to `dotfiles/backups/`.\n2. **Version Control**: Commit the updated backups to your dotfiles repository.\n3. **Restore**: On a fresh Debian install, run `bootstrap.sh` to:\n   - Install all packages from the backups.\n   - Apply configurations, themes, and security settings.\n   - Replicate the original environment.\n\n\u003e **Note**: Ensure the `dotfiles` repo contains the required backup files (`apt_list.bak`, `gnome_settings.bak`, etc.). Some commands may require `sudo` privileges.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4rkb4sh8%2Fdotfiles_debian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd4rkb4sh8%2Fdotfiles_debian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4rkb4sh8%2Fdotfiles_debian/lists"}