summaryrefslogtreecommitdiffstats
path: root/configuration.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2025-12-06 19:36:26 -0500
committerSkullheadx <admonty1@protonmail.com>2025-12-06 19:36:26 -0500
commit75fabf0236247efad6910bc782d74b4e7e9d9aa2 (patch)
tree3bb1f4061deb25d501790c96d2c8b6c01976184e /configuration.nix
parentsilence direnv (diff)
downloadnixos-75fabf0236247efad6910bc782d74b4e7e9d9aa2.tar.gz
nixos-75fabf0236247efad6910bc782d74b4e7e9d9aa2.tar.bz2
nixos-75fabf0236247efad6910bc782d74b4e7e9d9aa2.zip
use ssh
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/configuration.nix b/configuration.nix
index 426e36d..bb7ea2e 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -87,7 +87,6 @@
deadnix
python313
zig
- git-credential-oauth
marksman
icu
# language server
@@ -150,8 +149,8 @@
email = "admonty1@protonmail.com";
};
pull.rebase = true;
- credential = {
- helper = "oauth";
+ url = {
+ "git@github.com:".insteadOf = "https://github.com/";
};
};
@@ -211,15 +210,17 @@
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
- # programs.gnupg.agent = {
- # enable = true;
- # enableSSHSupport = true;
- # };
+ programs.gnupg.agent = {
+ enable = true;
+ enableSSHSupport = true;
+ };
# List services that you want to enable:
# Enable the OpenSSH daemon.
- # services.openssh.enable = true;
+ services.openssh = {
+ enable = true;
+ };
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];