ansible: readme

pull/34/head
Tudor Roman 2023-11-26 23:29:10 +01:00
parent 9c2b385cf5
commit b66228905e
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
2 changed files with 8 additions and 7 deletions

View File

@ -26,7 +26,8 @@ Remote server:
### Any other Linux distro for sane people
1. Provision a machine with a "normal" Linux distro (my personal choice is Fedora)
1. Provision a machine with a "normal" Linux distro (my personal choice is Fedora).
For this, [I prepared Ansible roles and playbooks](./ansible).
2. Install Nix (my installer of choice is [nix-installer][nix-installer]).
3. Clone this repo somewhere on the machine
4. `nix run .#home-manager -- switch --flake .#tudor`
@ -70,4 +71,4 @@ Secrets are encrypted and used through [agenix][agenix]. When provisioning a new
take its host public key and rekey secrets accordingly.
[nix-installer]: https://github.com/DeterminateSystems/nix-installer
[agenix]: https://github.com/ryantm/agenix/
[agenix]: https://github.com/ryantm/agenix/

View File

@ -2,12 +2,12 @@ Ansible roles and playbooks
===========================
While I very much love Nix and NixOS, I think NixOS is not suitable
for a (developer's) day-to-day-use machine.
for a developer's day-to-day-use machine.
On my personal machine, which is now just a laptop, I want to be able
to quickly change settings and run random scripts and programs, without
adapting them first, whereas on a server and/or a VM
to quickly change settings and run random scripts and programs without
first adapting them, whereas on a server and/or a VM
(either a server VM, or just some tiny one for development and testing)
I prefer having the rigurousness that NixOS provides.
I do prefer having the rigurousness that NixOS provides.
For this reason, I prefer running Nix with Home Manager on top of Fedora
on my laptop. I actually use [Fedora Silverblue][fedora-silverblue], which also gives me
a very nice system base that I can version and roll-back if needed, with the advantage
@ -17,7 +17,7 @@ that are applied transparently on next reboot!
[fedora-silverblue]: https://fedoraproject.org/silverblue/
I would, however, like to also manage the underlying OS in a declarative way.
To do this, I am using Ansible.
I am using Ansible to achieve this.
Setup
-----