use clash-verge instead of clash-verge-rev

This commit is contained in:
arielherself 2024-07-30 22:14:41 +08:00
parent 0412f45ed8
commit 03e0bce6a3
Signed by: arielherself
SSH Key Fingerprint: SHA256:AK3cyo9tFsp7Mox7K0sYphleC8hReXhnRKxwuDT5LBc
2 changed files with 16 additions and 8 deletions

View File

@ -124,11 +124,11 @@ in {
pkgs.adwaita-qt pkgs.adwaita-qt
pkgs.adwaita-qt6 pkgs.adwaita-qt6
# # It is sometimes useful to fine-tune packages, for example, by applying # My version of BerkeleyMono NF is incomplete. Should add some fallback fonts.
# # overrides. You can do that directly here, just don't forget the (pkgs.nerdfonts.override { fonts = [
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of "JetBrainsMono"
# # fonts? "FiraCode"
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) ]; })
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your
@ -205,6 +205,7 @@ in {
extraConfig = { extraConfig = {
commit.gpgsign = true; commit.gpgsign = true;
gpg.format = "ssh"; gpg.format = "ssh";
# This may not apply. Also try `git config --global gpg.ssh.program "/home/user/.nix-profile/bin/op-ssh-sign"`
gpg."ssh".program = "${unstable._1password-gui}/bin/op-ssh-sign"; gpg."ssh".program = "${unstable._1password-gui}/bin/op-ssh-sign";
push.autoSetupRemote = true; push.autoSetupRemote = true;
core.editor = "nvim"; core.editor = "nvim";

View File

@ -38,8 +38,8 @@ in {
"8.8.8.8" "8.8.8.8"
"1.1.1.1" "1.1.1.1"
]; ];
networking.proxy.default = "http://127.0.0.1:7897/"; # networking.proxy.default = "http://127.0.0.1:7897/";
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties. # Select internationalisation properties.
# i18n.defaultLocale = "en_US.UTF-8"; # i18n.defaultLocale = "en_US.UTF-8";
@ -176,7 +176,7 @@ in {
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
sqlite sqlite
clash-verge-rev # clash-verge-rev
bind bind
pciutils pciutils
]; ];
@ -189,6 +189,13 @@ in {
enableSSHSupport = true; enableSSHSupport = true;
}; };
# Clash
programs.clash-verge = {
enable = true;
autoStart = true;
tunMode = true;
};
# List services that you want to enable: # List services that you want to enable:
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.