8000 GitHub - SiddharthPant/nixos-config: 🏠 My personal NixOS flake config for a declarative, reproducible setup with GNOME, gaming and dev tools
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🏠 My personal NixOS flake config for a declarative, reproducible setup with GNOME, gaming and dev tools

Notifications You must be signed in to change notification settings

SiddharthPant/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏠 Sid's NixOS Desktop Configuration

Welcome to my personal NixOS flake! This is where I keep all my desktop configuration organized and reproducible. Because who doesn't love declarative system management? πŸŽ‰

πŸš€ What's This All About?

This is my NixOS configuration for my home desktop setup. It's a flake-based configuration that manages both my system-level stuff (NixOS) and user-level dotfiles (Home Manager). Think of it as my digital home's blueprint!

What's Inside?

  • System Config: All the low-level system stuff in hosts/desktop/
  • Home Manager: My personal dotfiles and user programs in home/
  • Programs: Individual program configurations in home/programs/
  • Shared Utilities: Common stuff in lib/

πŸ› οΈ Setup & Installation

First Time Setup

  1. Clone this:

    git clone <your-repo-url> ~/.config/nixos-config
    cd ~/.config/nixos-config
  2. Check if everything looks good:

    nix flake check
  3. Apply the system configuration:

    sudo nixos-rebuild switch --flake .#nixos
  4. Apply the home configuration:

    home-manager switch --flake .#sid

Making Changes

After tweaking any configs, just run the appropriate command:

  • System changes: sudo nixos-rebuild switch --flake .#nixos
  • Home changes: home-manager switch --flake .#sid
  • Test before applying: Add --dry-run to see what would change

πŸ“ Structure

.
β”œβ”€β”€ flake.nix              # Main flake configuration
β”œβ”€β”€ hosts/
β”‚   └── desktop/           # System-specific configs
β”œβ”€β”€ home/
β”‚   β”œβ”€β”€ desktop.nix        # Main home config
β”‚   └── programs/          # Individual program configs
└── lib/                   # Shared utilities

🎯 Key Features

  • Gaming Ready: Steam, GameMode, and all the good stuff
  • Development Setup: Neovim, Git, Docker, and development tools
  • GNOME Desktop: With useful extensions and tweaks
  • Hardware Optimized: NVIDIA drivers and hardware acceleration
  • Dotfiles Management: All my configs in one place

πŸ”§ Customization

Want to make this your own? Here's what you'll probably want to change:

  1. User Info: Update username and home directory in home/desktop.nix
  2. Hostname: Change the hostname in hosts/desktop/configuration.nix
  3. Programs: Add/remove programs in the respective config files
  4. Hardware: Update hardware-configuration.nix for your system

πŸ†˜ Troubleshooting

  • Build fails? Run nix flake check to see what's wrong
  • Home Manager issues? Make sure you're using the right username in the flake
  • System won't boot? You can always rollback with the systemd-boot menu

πŸ“ Notes

  • This config is tailored for my specific hardware (NVIDIA GPU, specific drives, etc.)
  • Feel free to steal anything useful, but you'll need to adapt it to your setup
  • The configuration assumes you're comfortable with NixOS basics

Happy Nixing! 🎊

About

🏠 My personal NixOS flake config for a declarative, reproducible setup with GNOME, gaming and dev tools

Resources

Stars

Watchers

Forks

Languages

0