madeddie's Nix Home Manager configuration
  • Nix 60.5%
  • Shell 39.5%
Find a file
Edwin Hermans 529ff2656f
Update aliases.zsh
Fix porterdb function to only use local env vars
2026-06-04 14:12:57 -04:00
dotfiles Update aliases.zsh 2026-06-04 14:12:57 -04:00
nix-darwin Clean up brew packages, updata flake 2026-05-20 09:29:07 -04:00
nix-on-droid Fix up conf8g 2026-04-07 11:42:55 -04:00
secrets Add idrivee2 AWS config and togglewg alias 2026-05-06 16:54:27 -04:00
.sops.yaml Add porter specific ssh_config 2026-04-23 13:44:06 -04:00
common.nix Update ssh config to new form, update flakes 2026-05-20 09:51:24 -04:00
flake.lock Update madeddie-nur flake 2026-05-22 16:19:25 -04:00
flake.nix Fix nvim config 2026-01-06 09:25:34 -05:00
home_edwinATEdwins-MacBook-Air.local.nix Switched installing porter cli tools from homebrew 2026-05-01 10:53:25 -04:00
home_madeddieATmaddock.nix Add home manager config for home.madtech.cx (docker compose host) 2025-11-25 16:57:49 -05:00
home_nix-on-droid.nix Fix typo 2026-04-07 11:41:27 -04:00
README.md Fix instruction 2025-12-15 13:28:35 -05:00
renovate.json Add @me as reviewer to renovate PRs 2025-05-15 10:47:00 -04:00

madeddie nix config for darwin-nix and nix-on-droid

These configs can be used to set up my Android terminal and MacOS machines.

Steps to initialize on MacOS

  1. install Nix or a derivative like Determinate or Lix
  2. Copy SSH key with access to GitHub to ~/.ssh/
    git clone git@github.com:madeddie/home-manager.git ~/.config/home-manager
    sudo ln -s /Users/edwin/.config/home-manager/nix-darwin /etc/nix-darwin
    nix run nix-darwin/master#darwin-rebuild -- switch
    darwin-rebuild switch

Steps to initialize on Android

  1. Install the termux forked UI https://f-droid.org/en/packages/com.termux.nix
  2. Copy SSH key with access to GitHub to ~/.ssh/
    nix shell nixpkgs\#git nixpkgs\#openssh
    git clone git@github.com:madeddie/home-manager.git ~/.config/home-manager
    rm -rf ~/.config/nix-on-droid
    ln -s ~/.config/home-manager/nix-on-droid ~/.config/nix-on-droid
    nix-on-droid switch --flake ~/.config/nix-on-droid

Steps to initialize Home Manager

    nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
    nix-channel --update
    nix run home-manager/master -- switch
    home-manager switch

Other requirements

The nix-darwin setup installs packages using Homebrew, so it's good to have this installed before starting:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"