Skip to content
/ infra Public

Personal Nix home-manager, Ansible, Terraform configuration. Currently rewriting to only NixOS (and Terraform)

Notifications You must be signed in to change notification settings

mjmaurer/infra

Repository files navigation

Personal Infrastructure

Overview

  • Nix Package Manager / Home-Manager does most of the heavy lifting for user configuration (see nixpkgs/README.md)
  • Ansible is used to install software on remote hosts, but I'm actively moving to NixOS (see nixos branch)

Adding new host / user:

  • Clone this repo into your user's home directory
  • Add PW to .vault-password
  • Install Ansible
  • sudo apt upgrade ansible
  • ansible-galaxy install -r requirements.yaml
  • Create <machine_name> section in:
    • run.yaml
    • hosts.ini
    • roles/
    • host_vars/ (make sure to add correct username if not mjmaurer7)
  • bash playbook.sh <machine_name>

Switch to new Home Manager generation:

  • hmswitch

Encrypting / Descrypting Ansible Vault:

  • nix-shell
  • adecrypt
  • aencrypt

About

Personal Nix home-manager, Ansible, Terraform configuration. Currently rewriting to only NixOS (and Terraform)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages