From 41db5fc767fbe5a5453b2fa0583de8c3b2cf4021 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Thu, 17 Sep 2026 11:49:58 +0200 Subject: Add automatic dotfiles clone + stow modules/home/dotfiles.nix clones ~/dotfiles on activation (only if not already present) and stows every top-level package directory into $HOME, independently per package so one conflict doesn't block the rest. Removes home-manager's own git config management in favor of letting the stowed ~/dotfiles/git/.gitconfig own it, and adds homeConfigurations."tom@darwin" so the feature is usable on this Mac. users/tom.nix now points home.dotfiles.repoUrl at the real repo. --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a863509..4efe54b 100644 --- a/flake.nix +++ b/flake.nix @@ -46,6 +46,11 @@ username = "tom"; system = "x86_64-linux"; }; + + "tom@darwin" = lib.mkHome { + username = "tom"; + system = "aarch64-darwin"; + }; }; formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); -- cgit v1.3