aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/default.nix
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 /modules/home/default.nix
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 'modules/home/default.nix')
-rw-r--r--modules/home/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix
index 206a0ad..ec32c7f 100644
--- a/modules/home/default.nix
+++ b/modules/home/default.nix
@@ -1,8 +1,8 @@
1{ 1{
2 imports = [ 2 imports = [
3 ./git.nix
4 ./shell.nix 3 ./shell.nix
5 ./editor.nix 4 ./editor.nix
6 ./cli-tools.nix 5 ./cli-tools.nix
6 ./dotfiles.nix
7 ]; 7 ];
8} 8}