Personal configurations v2, managed with Ansible
This simplify the bootloader setup. Will figure limine out in later commits. Also make the ESP path configurable with `esp_path` variable (default to /efi). |
||
---|---|---|
collections/ansible_collections/local | ||
docs | ||
host_vars/thorin | ||
nix | ||
playbooks | ||
.ansible-lint | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.sops.yaml | ||
.yamllint | ||
ansible.cfg | ||
flake.lock | ||
flake.nix | ||
inventory.toml | ||
LICENSE | ||
README.md | ||
requirements.yml | ||
TODO.md |
dotfiles v2
This is the continuation of my old dotfiles without all the Xorg stuff.
Usage
Note
All hosts use the same connection method
local
. Hence, each ansible-playbook command needs to specify exactly 1 hostname via--limit
(or else the playbook will be run multiple times).
# system.yml should be the first to run. It executes all tasks as the `root` user.
ansible-playbook playbooks/system.yml --limit '<host_name>'
# local.user.main playbook configures $HOME directory
ansible-playbook local.user.main --limit '<host_name>'
home-manager configuration is also provided for hosts using Nix. To configure:
# Ensure the managed user is a `trusted-user` in /etc/nix/nix.conf
# so some Nix configuration can be set by home-manager
# Source $XDG_STATE_HOME/nix/profile/etc/profile.d/hm-session-vars.sh in your shell config
# (it'll be $HOME/.nix/profile/etc/profile.d/hm-session-vars.sh if use-xdg-base-directories=false in nix.conf)
nix run .#home-manager -- switch --flake .#<host>/<username>
🌟 Credits
- eoli3n/dotfiles
- samhh/dotfiles
- zsugabubus/dotfiles
- sircmpwn/dotfiles
- rjarry/dotfiles
- wangl-cc/dotfiles
📄 License
MIT