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-qt6
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# My version of BerkeleyMono NF is incomplete. Should add some fallback fonts.
(pkgs.nerdfonts.override { fonts = [
"JetBrainsMono"
"FiraCode"
]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
@ -205,6 +205,7 @@ in {
extraConfig = {
commit.gpgsign = true;
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";
push.autoSetupRemote = true;
core.editor = "nvim";

View File

@ -38,8 +38,8 @@ in {
"8.8.8.8"
"1.1.1.1"
];
networking.proxy.default = "http://127.0.0.1:7897/";
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# networking.proxy.default = "http://127.0.0.1:7897/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties.
# 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.
wget
sqlite
clash-verge-rev
# clash-verge-rev
bind
pciutils
];
@ -189,6 +189,13 @@ in {
enableSSHSupport = true;
};
# Clash
programs.clash-verge = {
enable = true;
autoStart = true;
tunMode = true;
};
# List services that you want to enable:
# Enable the OpenSSH daemon.