Skip to content

damoun/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My personal dotfiles, managed with Nix.

Features

  • Cross-platform: Supports Ubuntu (via Home Manager) and macOS (via nix-darwin).
  • Declarative: All configurations (Zsh, Tmux, Git) are written in Nix.
  • Reproducible: Uses Flakes for dependency management.

Installation

Ubuntu

Prerequisites (YubiKey/SmartCard support)

Since pcscd is a hardware-level service, it must be installed via the system package manager:

sudo apt update && sudo apt install -y pcscd
sudo systemctl enable --now pcscd

Apply configuration

  1. Install Nix: curl -L https://nixos.org/nix/install | sh
  2. Apply configuration:
    nix run home-manager/master --extra-experimental-features 'nix-command flakes' -- switch --flake .#damoun@ubuntu

macOS

  1. Install Nix: curl -L https://nixos.org/nix/install | sh
  2. Install nix-darwin.
  3. Apply configuration:
    darwin-rebuild switch --extra-experimental-features 'nix-command flakes' --flake .#macbook

Structure

  • flake.nix: Entry point.
  • modules/: Shared Nix modules.
  • hosts/: Host-specific configurations.

Contributors

Languages