Skip to content

lvanasse/dotfiles

Repository files navigation

Personal NixOS Dotfiles

Flake-based NixOS + Home Manager configuration for desktop (pc) and laptop.

Quick Start

# Switch system configuration
nh os switch -H pc
nh os switch -H laptop

# Apply user environment
home-manager switch --flake .#ludovic@pc
home-manager switch --flake .#ludovic@laptop

# Validate
nix flake check
nixos-rebuild dry-run --flake .#pc
nixos-rebuild dry-run --flake .#laptop

# Format
nix fmt

Documentation

  • docs/README.md – structure + commands
  • docs/setup-ssh-keys.md – SSH + secrets workflow

Layout

  • flake.nix – flake entrypoint
  • modules/ – shared module tree (flake outputs, NixOS, Home Manager, host matrix)
  • modules/hosts/ – host matrix declaring which module sets each machine uses
  • nixos/ – per-host NixOS entrypoints and hardware bits (e.g., nixos/pc/pc.nix)
  • wallpapers/ – desktop assets

Why both modules/hosts and nixos/?

  • modules/hosts/default.nix is the matrix that maps host names to module sets for both NixOS and Home Manager.
  • nixos/<host>/<host>.nix is the system entrypoint that pulls in hardware and per-machine files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages