Merge branch 'main' of ghgreg:greg-hellings/nixos-config

This commit is contained in:
Greg Hellings
2024-03-28 09:37:04 -05:00
committed by greg-compass
15 changed files with 240 additions and 17 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;