From 75fabf0236247efad6910bc782d74b4e7e9d9aa2 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 6 Dec 2025 19:36:26 -0500 Subject: [PATCH] use ssh --- configuration.nix | 17 +++++++++-------- home.nix | 2 ++ 2 files changed, 11 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 = [ ... ]; diff --git a/home.nix b/home.nix index dd78599..931af02 100644 --- a/home.nix +++ b/home.nix @@ -190,6 +190,8 @@ silent = true; }; + # programs.ssh.startAgent = true; + xdg.portal = { enable = true; extraPortals = [ -- 2.54.0