Skip to content

fkarg/configs

Repository files navigation

configs

This is a collection of configuration files and related automation parts.

Especially of interest could be the nix-configuration files (mainly in the nixos folder), and the ansible setup of local files.

Migration Notes

Additional host-specific documentation:

  • docs/jolly-hardening-plan.md contains the stabilization plan for the jolly NixOS host.
  • docs/hyprland-migration-guide.md documents the i3/X11 to Hyprland/Wayland migration, including replacement options for bars, lockers, audio, and other desktop tooling.

Top-level configuration.nix note:

  • configuration.nix in this repo is a reference/example entrypoint, not the authoritative live entrypoint for every machine.
  • The repo is shared across multiple machines, including non-NixOS hosts.
  • Machine-local generated hardware details may intentionally stay in /etc/nixos/hardware-configuration.nix on the target host.

Client_Roles

Currently available client_roles are:

  • tux
  • hp440g5
  • desktop
  • terminal
  • caeli (macOS)

each has it's own little modifications.

Usage

ansible-pull --diff --clean -U git@github.com:fkarg/configs.git general.yml -e client_role=<client>

if you would like to see what would change first:

ansible-pull --check --diff --clean -U git@github.com:fkarg/configs.git general.yml -e client_role=<client>

or, if you prefer colorful output:

env ANSIBLE_FORCE_COLOR=true ansible-pull --diff --clean -U git@github.com:fkarg/configs.git general.yml -e client_role=<client>

Overwriting Existing Config Directories

Some applications (fish, kitty, nvim, broot) create their own config directories on first launch. If these exist as real directories (not symlinks), the playbook will fail by default to avoid data loss.

To allow overwriting existing config directories with symlinks, pass confirm_overwrite=true:

ansible-pull --diff --clean -U git@github.com:fkarg/configs.git general.yml -e client_role=<client> -e confirm_overwrite=true

This flag is ignored in check mode (--check), so you can safely preview changes without risk.

Make sure you have an ssh key which is registered on your github account for this computer already.

About

Collection of my configuration files (dotfiles, nixos, and their automatic deployment with ansible)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors