Update ssh settings

This commit is contained in:
Patrick Neff 2024-01-30 17:57:55 +01:00
parent 912eedb3d4
commit 75a380e25a
4 changed files with 24 additions and 14 deletions

View File

@ -274,11 +274,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1706134977,
"narHash": "sha256-KwNb1Li3K6vuVwZ77tFjZ89AWBo7AiCs9t0Cens4BsM=",
"lastModified": 1706435589,
"narHash": "sha256-yhEYJxMv5BkfmUuNe4QELKo+V5eq1pwhtVs6kEziHfE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6359d40f6ec0b72a38e02b333f343c3d4929ec10",
"rev": "4d54c29bce71f8c261513e0662cc573d30f3e33e",
"type": "github"
},
"original": {
@ -295,11 +295,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1706451507,
"narHash": "sha256-TfrqIL5laTLh4g1AhcB1u2xVdIwKhZe9s2JbN1XTQK4=",
"lastModified": 1706470195,
"narHash": "sha256-SBdC0Xx7iOxjYKgIlHWfoH6oRIae1CBRZcIRIO5Iymc=",
"ref": "refs/heads/master",
"rev": "a5dab140d0f3837ed4f70fdf1bb30fec72e7800e",
"revCount": 1,
"rev": "148f7fe77452628d33cc431421a7819f3365cb03",
"revCount": 6,
"type": "git",
"url": "file:///home/odie/Code/nix/neovim-config"
},
@ -435,11 +435,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1705677747,
"narHash": "sha256-eyM3okYtMgYDgmYukoUzrmuoY4xl4FUujnsv/P6I/zI=",
"lastModified": 1706191920,
"narHash": "sha256-eLihrZAPZX0R6RyM5fYAWeKVNuQPYjAkCUBr+JNvtdE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bbe7d8f876fbbe7c959c90ba2ae2852220573261",
"rev": "ae5c332cbb5827f6b1f02572496b141021de335f",
"type": "github"
},
"original": {
@ -467,11 +467,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1705856552,
"narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=",
"lastModified": 1706191920,
"narHash": "sha256-eLihrZAPZX0R6RyM5fYAWeKVNuQPYjAkCUBr+JNvtdE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d",
"rev": "ae5c332cbb5827f6b1f02572496b141021de335f",
"type": "github"
},
"original": {

View File

@ -23,7 +23,6 @@
programs = {
bat.enable = true;
ssh.enable = true;
};
services = {

View File

@ -10,5 +10,6 @@ _: {
./zsh.nix
./btop.nix
./zoxide.nix
./ssh.nix
];
}

10
modules/shell/ssh.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ tea ];
programs = {
ssh = {
enable = true;
addKeysToAgent = "yes";
forwardAgent = true;
};
};
}