fix: git credentials
This commit is contained in:
1 parent
a6ec6d7937
commit
38cc5a090c
2 files changed
+9
-2
No files matched your search
@@ -8,7 +8,7 @@ path add ~/go/bin
|
||||
path add ~/.nix-profile/bin
|
||||
path add ~/.npm-global/bin
|
||||
|
||||
$env.SHELL = '/usr/bin/nu'
|
||||
$env.SHELL = which nu
|
||||
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'
|
||||
$env.RAINFROG_CONFIG = '~/.config/rainfrog'
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
curl
|
||||
wget
|
||||
neovim
|
||||
@@ -81,6 +80,7 @@
|
||||
claude-code
|
||||
imagemagick
|
||||
mangohud
|
||||
libsecret
|
||||
];
|
||||
|
||||
home.file = {
|
||||
@@ -145,6 +145,13 @@
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
credential.helper = if pkgs.stdenv.hostPlatform.isLinux then "libsecret" else "osxkeychain";
|
||||
};
|
||||
};
|
||||
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
vesktop.enable = true;
|
||||
|
||||
Reference in new issue
Block a user