https://github.com/castrozan/.dotfiles

My dotfiles and install scripts for NixOS and Ubuntu

https://github.com/castrozan/.dotfiles

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

My dotfiles and install scripts for NixOS and Ubuntu

Basic Info
  • Host: GitHub
  • Owner: Castrozan
  • Language: Shell
  • Default Branch: main
  • Homepage:
  • Size: 10.2 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 1
Created almost 2 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

Zanoni's Desktop Configs

Stargazers

Welcome to my dotfiles! This repository contains my desktop environment setup for both NixOS and Ubuntu. It's built with Nix Flakes and Home Manager.

screensaver

Desktop Showcase

Kitty ᓚᘏᗢ + Tmux

🪟 Panes ![panes](static/docs/tmux/showcase-panes.png)
🪴 Screensaver ![screensaver](static/docs/tmux/showcase-screensaver.png)
🔱 Sessions ![sessions](static/docs/tmux/showcase-sessions.png)

Neovim

:wq Editor ![editor](static/docs/neovim/showcase-editor.png)
🎯 Focused Editor ![editor](static/docs/neovim/showcase-focused-editor.png)

Getting Started

The Declarative Way

Got NixOS from the installer? Perfect. Here's how to deploy this flake:

Quick Start for: ❄️ NixOS Users #### 1. Clone the Repository ```bash cd ~ git clone https://github.com/castrozan/.dotfiles.git cd .dotfiles ``` #### 2. Generate Hardware Configuration Replace `your_host` with your machine's identifier (e.g., `dellg15`): ```bash sudo nixos-generate-config --dir hosts/your_host/configs ``` #### 3. Customize Your Configuration - Copy and modify a user directory from `users/` (use `zanoni` as template) - Update `flake.nix` to add your configuration in `nixosConfigurations` #### 4. Deploy the Flake ```bash sudo nixos-rebuild switch --flake .#your_user ``` #### 5. Post-Deployment - Restart your system (recommended) - Enjoy your new setup! 🎉

Home Manager Standalone

Don't wanna go full NixOS for now? No worries! You can still use the flake with Home Manager to manage your dotfiles:

Quick Start for: 🐧 Ubuntu/Non-NixOS systems

1. Clone the Repository

bash cd ~ git clone https://github.com/castrozan/.dotfiles.git cd .dotfiles

2. Install Nix (if not already installed)

bash curl -L https://nixos.org/nix/install | sh -s -- --daemon

3. Deploy with Home Manager

```bash

For the lucas.zanoni configuration (adjust username as needed)

nix run home-manager/release-25.05 -- --flake .#lucas.zanoni@x86_64-linux switch -b "backup-$(date +%Y-%m-%d-%H-%M-%S)" ```


🏗️ Architecture Overview

📦 mermaid Here's how everything fits together: ```mermaid graph TD subgraph "flake.nix" Flake["Entry Point
defines configs"] end subgraph "NixOS Configuration" NixOS["nixosConfigurations.zanoni"] Host["hosts/dellg15
hardware config"] UserNixOS["users/zanoni/nixos.nix"] end subgraph "Home Manager Configuration" HomeStandalone["homeConfigurations
lucas.zanoni@x86_64-linux"] UserHome["users/*/home.nix"] Modules["home/modules/*
app configs"] end subgraph "External Inputs" Nixpkgs["nixpkgs-25.05"] Unstable["nixpkgs-unstable"] HM["home-manager"] Determinate["determinate.systems"] end Flake --> NixOS Flake --> HomeStandalone NixOS --> Host NixOS --> UserNixOS NixOS --> HM HomeStandalone --> UserHome UserHome --> Modules Flake --> Nixpkgs Flake --> Unstable Flake --> Determinate style Flake fill:#f38ba8,color:#1e1e2e style NixOS fill:#a6e3a1,color:#1e1e2e style HomeStandalone fill:#89b4fa,color:#1e1e2e style Nixpkgs fill:#f9e2af,color:#1e1e2e style HM fill:#cba6f7,color:#1e1e2e ```

📂 Repository Structure - Relevant things

📂 Structure ``` .dotfiles/ ├── .bashrc # Main shell configuration (i'm using fish with bass) ├── .config/ # Application configs (hypr, kitty, tmux, nvim, etc.) ├── .shell_env_vars # Local environment variables (git-ignored) ├── bin/ # Custom shell scripts & utilities ├── home/ # Home Manager shared modules ├── hosts/ # NixOS hosts configuration ├── nixos/ # NixOS shared system modules ├── shell/ # Shell configurations (bash, fish, zsh) ├── users/ # User-specific configurations │ ├── lucas.zanoni/ # Home Manager standalone config (Ubuntu/non-NixOS) │ └── zanoni/ # Full NixOS system config ├── flake.nix # Nix Flakes entry point ├── Makefile # Helper commands └── README.md # This file! ```

🔗 Inspiration & Credits

This setup is inspired by and borrows from: - ryan4yin/nix-config - Excellent complex Nix configurations - OfflineBot/nixos - Clean NixOS setup - The amazing NixOS and Home Manager communities - And countless other dotfiles repos I've stumbled upon at 3 AM 🌙

📚 Resources


Enjoy ricing and happy hacking! If you like this setup, consider giving it a ⭐

Owner

  • Name: Lucas Zanoni
  • Login: Castrozan
  • Kind: user

GitHub Events

Total
  • Release event: 1
  • Watch event: 2
  • Delete event: 16
  • Push event: 344
  • Pull request review event: 2
  • Pull request event: 17
  • Create event: 24
Last Year
  • Release event: 1
  • Watch event: 2
  • Delete event: 16
  • Push event: 344
  • Pull request review event: 2
  • Pull request event: 17
  • Create event: 24

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • Castrozan (10)
Top Labels
Issue Labels
Pull Request Labels