diff --git a/cmd/headscale/headscale.go b/cmd/headscale/headscale.go index 28feb66b..ebad844e 100644 --- a/cmd/headscale/headscale.go +++ b/cmd/headscale/headscale.go @@ -171,6 +171,8 @@ var enableRouteCmd = &cobra.Command{ func main() { viper.SetConfigName("config") + viper.AddConfigPath("/etc/headscale/") + viper.AddConfigPath("$HOME/.headscale") viper.AddConfigPath(".") viper.AutomaticEnv() err := viper.ReadInConfig()