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 ~/.nix-profile/bin
|
||||||
path add ~/.npm-global/bin
|
path add ~/.npm-global/bin
|
||||||
|
|
||||||
$env.SHELL = '/usr/bin/nu'
|
$env.SHELL = which nu
|
||||||
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'
|
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'
|
||||||
$env.RAINFROG_CONFIG = '~/.config/rainfrog'
|
$env.RAINFROG_CONFIG = '~/.config/rainfrog'
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
git
|
|
||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
neovim
|
neovim
|
||||||
@@ -81,6 +80,7 @@
|
|||||||
claude-code
|
claude-code
|
||||||
imagemagick
|
imagemagick
|
||||||
mangohud
|
mangohud
|
||||||
|
libsecret
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
@@ -145,6 +145,13 @@
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
credential.helper = if pkgs.stdenv.hostPlatform.isLinux then "libsecret" else "osxkeychain";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.nixcord = {
|
programs.nixcord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
vesktop.enable = true;
|
vesktop.enable = true;
|
||||||
|
|||||||
Reference in new issue
Block a user