From: Skullheadx Date: Sun, 7 Dec 2025 00:36:26 +0000 (-0500) Subject: use ssh X-Git-Url: http://git.skullheadx.com/nixos/static/projects.html?a=commitdiff_plain;h=75fabf0236247efad6910bc782d74b4e7e9d9aa2;p=nixos.git use ssh --- 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 = [