Skip to content

Replace dotfiles with Nix - #5

Open
rtucek wants to merge 184 commits into
mainfrom
nix
Open

Replace dotfiles with Nix#5
rtucek wants to merge 184 commits into
mainfrom
nix

Conversation

@rtucek

@rtucek rtucek commented Jul 28, 2026

Copy link
Copy Markdown
Owner

The change aims to replace the current dotfiles setup (based on Chezmoi) being replaced by a Nix flake.

Among others, this covers:

  • switching to NixOS
  • holistic system setup managed by a single flake
  • including dotfiles via home manager
  • secrets are managed via sops-nix
  • easy installation via nixos-anywhere
  • basic CI pipeline, checking for a valid flake config, language server warnings and missing formatting

rtucek added 30 commits August 1, 2026 21:17
Shells need to be enabled explicitly in home manager, otherwise,
GPG agent's SSH_AUTH_SOCK env variable is not set eventually.
Since GPG and the gpg-agent are home-manager managed, avoid setting the
SSH_AUTH_SOCK env via global shell init. This only causes the spawn of
another (and conflicting) gpg-agent process.
Apply shellcheck finding.
This prevents potential word splitting and globbing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant