Skip to content

Commit

Permalink
Move ssh config to desktop role
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jun 27, 2024
1 parent 4ad40c3 commit 17f535f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 6 additions & 1 deletion home/programs/ssh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ in
custom.roles.homeage.enable = true;

homeage.file = listToAttrs (map mkHomeageFile cfg.identities);
programs.ssh.enable = true;
programs.ssh = {
enable = true;
controlMaster = "auto";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "10m";
};
};
}
1 change: 1 addition & 0 deletions home/roles/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ in
custom = {
programs = {
logseq.enable = true;
ssh.enable = true;
syncthing.enable = true;
};
roles = {
Expand Down
2 changes: 0 additions & 2 deletions home/users/christian/shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ in
};

programs = {
ssh = import ./ssh.nix;

bat.enable = true;
eza.enable = true;
fzf.enable = true;
Expand Down
6 changes: 0 additions & 6 deletions home/users/christian/shell/ssh.nix

This file was deleted.

0 comments on commit 17f535f

Please sign in to comment.