Let's try adding shell.nix
parent
49a9890ba1
commit
553b1a11b8
16
README.md
16
README.md
|
@ -1,14 +1,16 @@
|
|||
# ansible
|
||||
|
||||
Configuration through [Ansible](https://ansible.com) for my main laptop.
|
||||
Configuration through [Ansible](https://ansible.com) for my development environment(s).
|
||||
|
||||
## Start
|
||||
Clone & execute the main playbook locally: `ansible-playbook run.yml -K`
|
||||
|
||||
1. `curl https://git.earne.link/earnestma/ansible/raw/branch/main/ensure.sh | sh`
|
||||
2. Clone the repository and enter it
|
||||
3. Execute the main playbook: `ansible-playbook run.yml -K`
|
||||
You will need to set SELinux to permissive and install nix first:
|
||||
|
||||
Other playbooks:
|
||||
```bash
|
||||
sudo setenforce 0
|
||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
nix-shell
|
||||
```
|
||||
|
||||
- Run usual updates: `ansible-playbook update.yml -K`
|
||||
|
||||
|
@ -16,6 +18,8 @@ Other playbooks:
|
|||
|
||||
- `git config core.hooksPath .git-hooks`
|
||||
|
||||
TODO(earne): Remove this/ update
|
||||
|
||||
## After first time run
|
||||
|
||||
- Restore all/ specific files (e.g. those with secrets) from a backup, if needed
|
||||
|
|
Loading…
Reference in New Issue