Setup credentials for git to automatically use the read-only PAT when

pulling changes from this repo
This commit is contained in:
2024-12-26 16:27:24 +02:00
parent bc90f009fc
commit 6bd2426b78

View File

@@ -16,12 +16,20 @@
efiInstallAsRemovable = true;
};
environment.systemPackages = map lib.lowPrio [
pkgs.curl
pkgs.gitMinimal
pkgs.neovim
environment.systemPackages = with pkgs; map lib.lowPrio [
curl
gitMinimal
neovim
];
programs.git = {
enable = true;
extraConfig = ''
[credential]
helper = store
'';
};
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;