Let ssh config work in distrobox

This commit is contained in:
Greg Hellings
2024-03-25 14:39:35 -05:00
parent a61b23c5f4
commit 69a699912e
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1,6 +1,12 @@
{ lib, ... }:
{
# Workaround to set the config value to user read-only
# This allows things like SSH in distrobox to read the config file just fine
home.file.".ssh/config" = {
target = ".ssh/config_source";
onChange = ''cat ~/.ssh/config_source > ~/.ssh/config && chmod 400 ~/.ssh/config'';
};
programs.ssh = {
enable = true;
serverAliveInterval = 60;
+1
View File
@@ -48,6 +48,7 @@
bind # For things like nslookup
create_ssl
darktable
distrobox
expect
gimp
gparted