diff --git a/flake.lock b/flake.lock index 96809ec..694803b 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "awesome-config": { "locked": { - "lastModified": 1672926110, - "narHash": "sha256-t+cVX6bbrv9cLZuBcxHAAX3LtKB1K4LndxYEqrINCaY=", + "lastModified": 1672956188, + "narHash": "sha256-0WlCdgF2WcIHO/Xn1CHKm7aqsO2T2vSV5NGE7bmAd98=", "owner": "therealr5", "repo": "awesome-config", - "rev": "00c4f6b17c56607df42aa03f55e5f3c442c76980", + "rev": "ea8efd6ee4a5db410625085160b1336e3de459c5", "type": "github" }, "original": { @@ -23,11 +23,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1672780900, - "narHash": "sha256-DxuSn6BdkZapIbg76xzYx1KhVPEZeBexMkt1q/sMVPA=", + "lastModified": 1672980560, + "narHash": "sha256-Pzx7az57SiUS1xhvKesTb1rhO9w9lWy9mecIqVjcKzo=", "owner": "nix-community", "repo": "home-manager", - "rev": "54245e1820caabd8a0b53ce4d47e4d0fefe04cd4", + "rev": "1786883425208d3bf726ab6a1889beddeb46cdbc", "type": "github" }, "original": { diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index 39fe3cd..7b9d043 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -10,6 +10,7 @@ ./kdeconnect ./neovim ./picom + ./ssh ./tmux ./vifm ./zsh diff --git a/users/rouven/modules/ssh/default.nix b/users/rouven/modules/ssh/default.nix new file mode 100644 index 0000000..4a20f62 --- /dev/null +++ b/users/rouven/modules/ssh/default.nix @@ -0,0 +1,22 @@ +{ config, ... }: +{ + programs.ssh = { + enable = true; + matchBlocks = { + "github.com" = { + identityFile = "~/.ssh/git"; + }; + "rfive.de" = { + user = "fedora"; + }; + "git@rfive.de" = { + match = "Host rfive.de User git"; + identityFile = "~/.ssh/git"; + }; + "git@raspi" = { + match = "Host raspi User git"; + identityFile = "~/.ssh/git"; + }; + }; + }; +}