Skip to content

NixOS and Home Manager configuration using flakes.

License

Notifications You must be signed in to change notification settings

maxaudron/dotfiles

Repository files navigation

audron’s dotfiles

NixOS and Home Manager configuration using flakes.

Structure

.
├── flake.nix          # Main flake configuration
├── home.nix           # Home Manager entry point
├── config.toml        # User variables configuration file
├── machines/          # Machine-specific configurations
├── modules/           # Nix Modules
├── pkgs/              # Custom package definitions
├── secrets/           # Secret submodule
├── templates/         # Nix flake templates
└── wallpaper/         # Wallpaper assets

Initial Setup

# Apply configuration (NixOS)
sudo nixos-rebuild switch --flake ~/.dotfiles

# Apply configuration (macOS with nix-darwin)
sudo darwin-rebuild switch --flake ~/.dotfiles

Module Categories

Desktop Environments

  • Hyprland - Hyprland compositor

  • [OLD] COSMIC - COSMIC desktop environment

  • [OLD] Sway - Sway window manager

  • [OLD] Waybar - Status bar

Development

Shell & Terminal

  • Shell - Shell configuration

  • Terminal - Terminal emulator setup

  • [OLD] Rofi - Application launcher

  • [OLD] Tofi - Launcher alternative

Multimedia

  • Audio - Audio system configuration

  • MPD - Music Player Daemon

  • Firefox - Web browser

System & Security

  • SSH - SSH configuration

  • GPG - GPG/PGP setup

  • Yubikey - Hardware key configuration

MISC

Flake Inputs

  • nixpkgs - Main package repository (unstable)

  • home-manager - Manage user environment

  • darwin - macOS support

  • catppuccin - Catppuccin theme

  • fenix - Rust toolchain

  • secrets - Private secrets repository

Usage

Updating Dependencies

# Update all inputs
nix flake update

# Update specific input
nix flake update nixpkgs

Building Configurations

# Build without switching
nixos-rebuild build --flake .#<hostname>

# Build and switch
nixos-rebuild switch --flake .#<hostname>

About

NixOS and Home Manager configuration using flakes.

Resources

License

Stars

Watchers

Forks