feat: modify wsl config

This commit is contained in:
2025-04-18 09:20:15 +08:00
parent f8b0337060
commit 0f61cc5118
4 changed files with 26 additions and 11 deletions

View File

@@ -1,13 +1,13 @@
{ ... }:
{ username, ... }:
{
my.home.programs.zsh.shellAliases = {
localproxy_on = "export http_proxy=http://192.168.128.1:7890 https_proxy=http://192.168.128.1:7890 all_proxy=socks://192.168.128.1:7890";
};
my = {
sops.sshKeyPath = "/home/${username}/.ssh/id_ed25519";
coding.all.enable = true;
cmd.misc.enable = true;
xdg.enable = true;
cmd.media.all.enable = true;
desktop.media.all.enable = true;
};
}

View File

@@ -14,4 +14,7 @@
PasswordAuthentication = true;
};
};
# fix vscode remote
programs.nix-ld.enable = true;
}