mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
added ssh config
This commit is contained in:
parent
4da5e91ad5
commit
79c06a749a
12
flake.lock
12
flake.lock
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"awesome-config": {
|
"awesome-config": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672926110,
|
"lastModified": 1672956188,
|
||||||
"narHash": "sha256-t+cVX6bbrv9cLZuBcxHAAX3LtKB1K4LndxYEqrINCaY=",
|
"narHash": "sha256-0WlCdgF2WcIHO/Xn1CHKm7aqsO2T2vSV5NGE7bmAd98=",
|
||||||
"owner": "therealr5",
|
"owner": "therealr5",
|
||||||
"repo": "awesome-config",
|
"repo": "awesome-config",
|
||||||
"rev": "00c4f6b17c56607df42aa03f55e5f3c442c76980",
|
"rev": "ea8efd6ee4a5db410625085160b1336e3de459c5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672780900,
|
"lastModified": 1672980560,
|
||||||
"narHash": "sha256-DxuSn6BdkZapIbg76xzYx1KhVPEZeBexMkt1q/sMVPA=",
|
"narHash": "sha256-Pzx7az57SiUS1xhvKesTb1rhO9w9lWy9mecIqVjcKzo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "54245e1820caabd8a0b53ce4d47e4d0fefe04cd4",
|
"rev": "1786883425208d3bf726ab6a1889beddeb46cdbc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
./kdeconnect
|
./kdeconnect
|
||||||
./neovim
|
./neovim
|
||||||
./picom
|
./picom
|
||||||
|
./ssh
|
||||||
./tmux
|
./tmux
|
||||||
./vifm
|
./vifm
|
||||||
./zsh
|
./zsh
|
||||||
|
|
22
users/rouven/modules/ssh/default.nix
Normal file
22
users/rouven/modules/ssh/default.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue