diff options
| author | 2026-09-17 11:49:58 +0200 | |
|---|---|---|
| committer | 2026-09-17 11:49:58 +0200 | |
| commit | 41db5fc767fbe5a5453b2fa0583de8c3b2cf4021 (patch) | |
| tree | 53c9f545c7e5bdbb57ec5e625edc54fb8da3d208 /modules/home/git.nix | |
| parent | f793f76e26b461c3228c69926d82bf950aaac671 (diff) | |
| download | desktop-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/git.nix')
| -rw-r--r-- | modules/home/git.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/home/git.nix b/modules/home/git.nix deleted file mode 100644 index 4eab076..0000000 --- a/modules/home/git.nix +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | { | ||
| 2 | programs.git = { | ||
| 3 | enable = true; | ||
| 4 | extraConfig = { | ||
| 5 | init.defaultBranch = "main"; | ||
| 6 | pull.rebase = true; | ||
| 7 | }; | ||
| 8 | }; | ||
| 9 | } | ||
