treewide: remove spotify

This commit is contained in:
Guanran Wang 2024-06-15 05:42:17 +08:00
parent 8a67c3b179
commit 7647385ed6
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
9 changed files with 1 additions and 51 deletions

View file

@ -2,7 +2,6 @@
# Allow unfree applications
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"spotify"
"keka"
];
}

View file

@ -82,11 +82,6 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
};
spicetify-nix = {
url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
srvos = {
url = "github:nix-community/srvos";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,3 +0,0 @@
{pkgs, ...}: {
home.packages = [pkgs.spotify];
}

View file

@ -1,19 +0,0 @@
{
pkgs,
inputs,
...
}: let
spicePkgs = inputs.spicetify-nix.packages.${pkgs.stdenv.hostPlatform.system}.default;
in {
# import the flake's module for your system
imports = [inputs.spicetify-nix.homeManagerModule];
# configure spicetify :)
programs.spicetify = {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
keyboardShortcut
];
};
}

View file

@ -12,7 +12,6 @@
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"spotify"
"temurin-bin"
];
@ -22,7 +21,6 @@
"libXNVCtrl"
"nvidia-x11"
"osu-lazer-bin"
"spotify"
"steam"
"steam-original"
"xow_dongle-firmware"

View file

@ -31,7 +31,6 @@
# Stuff that I only want on my main machine
home-manager.users.guanranwang = {
imports = map (n: ../../home/applications/${n}) [
"spotify/spicetify.nix"
"thunderbird"
"ydict"
];

View file

@ -13,7 +13,6 @@
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"spotify"
"temurin-bin"
"vscodium"
];
@ -24,7 +23,6 @@
"broadcom-sta"
"minecraft-server"
"nvidia-x11"
"spotify"
];
};
}

View file

@ -46,28 +46,16 @@ proxy-groups:
#- { name: 新加坡, <<: *use, type: url-test, filter: "(?i)(新|sg|singapore)" }
rules:
### WHITELIST
# FILTER
- GEOIP, lan, DIRECT, no-resolve
- GEOSITE, private, DIRECT
- GEOSITE, category-ads, REJECT
# DIRECT
- DOMAIN-SUFFIX, envs.net, DIRECT
- DOMAIN-SUFFIX, catgirl.cloud, DIRECT
- GEOSITE, freecodecamp, DIRECT # music radio
- GEOSITE, icloud, DIRECT
- GEOSITE, apple@cn, DIRECT
- GEOSITE, google@cn, DIRECT
- GEOSITE, microsoft@cn, DIRECT
- GEOSITE, category-games@cn, DIRECT
# PROXY
- GEOSITE, spotify, 台湾
# - GEOSITE, google, PROXY
# - GEOSITE, telegram, PROXY
# NOMATCH
- GEOSITE, cn, DIRECT
- GEOIP, cn, DIRECT
- MATCH, PROXY

View file

@ -26,7 +26,6 @@
#"Templates"
".ssh"
#".librewolf"
".mozilla/firefox"
".thunderbird"
@ -34,17 +33,13 @@
".local/share"
".local/state"
".config/gh"
".config/Mumble"
".config/VSCodium"
".config/chromium"
".config/fcitx5"
".config/obs-studio"
".config/spotify"
];
files = [
".config/sops/age/keys.txt"
#".config/KDE/neochat.conf"
#".config/neochatrc"
];
};
};