aboutsummaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 11:49:58 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 11:49:58 +0200
commit41db5fc767fbe5a5453b2fa0583de8c3b2cf4021 (patch)
tree53c9f545c7e5bdbb57ec5e625edc54fb8da3d208 /users
parentf793f76e26b461c3228c69926d82bf950aaac671 (diff)
downloaddesktop-flake-41db5fc767fbe5a5453b2fa0583de8c3b2cf4021.tar.gz
desktop-flake-41db5fc767fbe5a5453b2fa0583de8c3b2cf4021.tar.bz2
desktop-flake-41db5fc767fbe5a5453b2fa0583de8c3b2cf4021.zip
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.
Diffstat (limited to 'users')
-rw-r--r--users/tom.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/users/tom.nix b/users/tom.nix
index 94abcc3..08b30c3 100644
--- a/users/tom.nix
+++ b/users/tom.nix
@@ -8,8 +8,5 @@
8 # Set once at first install/activation; never bump retroactively. 8 # Set once at first install/activation; never bump retroactively.
9 home.stateVersion = "24.05"; 9 home.stateVersion = "24.05";
10 10
11 programs.git = { 11 home.dotfiles.repoUrl = "https://git.tomvanderlee.com/dotfiles";
12 userName = "Tom van der Lee";
13 userEmail = "t0m.vd.l33@gmail.com";
14 };
15} 12}