diff options
| author | 2026-09-17 11:49:58 +0200 | |
|---|---|---|
| committer | 2026-09-17 11:49:58 +0200 | |
| commit | 41db5fc767fbe5a5453b2fa0583de8c3b2cf4021 (patch) | |
| tree | 53c9f545c7e5bdbb57ec5e625edc54fb8da3d208 /flake.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 'flake.nix')
| -rw-r--r-- | flake.nix | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -46,6 +46,11 @@ | |||
| 46 | username = "tom"; | 46 | username = "tom"; |
| 47 | system = "x86_64-linux"; | 47 | system = "x86_64-linux"; |
| 48 | }; | 48 | }; |
| 49 | |||
| 50 | "tom@darwin" = lib.mkHome { | ||
| 51 | username = "tom"; | ||
| 52 | system = "aarch64-darwin"; | ||
| 53 | }; | ||
| 49 | }; | 54 | }; |
| 50 | 55 | ||
| 51 | formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); | 56 | formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); |
