pinwheel: Add sshfs to ssh module
This commit is contained in:
@@ -1,32 +1,37 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.alex.programs.ssh = {
|
home-manager.users.alex = {
|
||||||
enable = true;
|
programs.ssh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"sombrero.local" = {
|
"sombrero.local" = {
|
||||||
hostname = "192.168.50.200";
|
hostname = "192.168.50.200";
|
||||||
user = "alex";
|
user = "alex";
|
||||||
identityFile = "/home/alex/.ssh/alex.pinwheel-sombrero";
|
identityFile = "/home/alex/.ssh/alex.pinwheel-sombrero";
|
||||||
port = 1122;
|
port = 1122;
|
||||||
};
|
};
|
||||||
|
|
||||||
"sombrero.a2x.se" = {
|
"sombrero.a2x.se" = {
|
||||||
hostname = "sombrero.a2x.se";
|
hostname = "sombrero.a2x.se";
|
||||||
user = "alex";
|
user = "alex";
|
||||||
identityFile = "/home/alex/.ssh/alex.pinwheel-sombrero";
|
identityFile = "/home/alex/.ssh/alex.pinwheel-sombrero";
|
||||||
port = 1122;
|
port = 1122;
|
||||||
};
|
};
|
||||||
|
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
hostname = "github.com";
|
hostname = "github.com";
|
||||||
identityFile = "/home/alex/.ssh/alex.pinwheel-github.com";
|
identityFile = "/home/alex/.ssh/alex.pinwheel-github.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
"gitlab.com" = {
|
"gitlab.com" = {
|
||||||
hostname = "gitlab.com";
|
hostname = "gitlab.com";
|
||||||
identityFile = "/home/alex/.ssh/alex.pinwheel-work";
|
identityFile = "/home/alex/.ssh/alex.pinwheel-work";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = [ pkgs.sshfs ];
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
|
|||||||
Reference in New Issue
Block a user