diff --git a/home/default.nix b/home/default.nix index befa696..7c88faa 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,2 +1,2 @@ # This file contains default settings used across different systems -{ } +{ imports = [ ./ssh ]; } diff --git a/home/ssh/default.nix b/home/ssh/default.nix new file mode 100644 index 0000000..b440cd2 --- /dev/null +++ b/home/ssh/default.nix @@ -0,0 +1,13 @@ +{ + programs.ssh = { + enable = true; + addKeysToAgent = "confirm"; + matchBlocks = { + "deck" = { + hostname = "steamdeck"; + user = "deck"; + port = 22; + }; + }; + }; +}