diff --git a/home/base/core/git.nix b/home/base/core/git.nix index 9941655b..ad331bff 100644 --- a/home/base/core/git.nix +++ b/home/base/core/git.nix @@ -3,7 +3,6 @@ lib, pkgs, myvars, - osConfig, ... }: { @@ -15,14 +14,6 @@ rm -f ${config.home.homeDirectory}/.gitconfig ''; - # Work identity (email/name) lives encrypted in nix-secrets and is symlinked - # to ~/work/.gitconfig, which `programs.git.includes` below makes git read for - # repos under ~/work. `work-gitconfig` is only declared on desktops, so the - # symlink follows the secret. - home.file."work/.gitconfig" = lib.mkIf ((osConfig.age.secrets or { }) ? "work-gitconfig") { - source = config.lib.file.mkOutOfStoreSymlink "/etc/agenix/work-gitconfig"; - }; - # GitHub CLI tool # https://cli.github.com/manual/ home.packages = [ pkgs.gh ];