remove unnecessary packages

This commit is contained in:
2025-01-16 23:47:55 -06:00
parent 2f63efe3e8
commit ac6b658ac5

View File

@@ -5,25 +5,11 @@
default = false;
};
config = let
pywalfox-wrapper = pkgs.writeShellScriptBin "pywalfox-wrapper" ''
${pkgs.pywalfox-native}/bin/pywalfox start
'';
in lib.mkIf config.homeconfig.wal.enable {
config = lib.mkIf config.homeconfig.wal.enable {
home.packages = with pkgs; [
inputs.themecord.packages.${pkgs.system}.default
vesktop
pywal16
imagemagick
pywalfox-native
];
home.file.".mozilla/native-messaging-hosts/pywalfox.json".text = lib.replaceStrings [ "<path>" ] [
"${pywalfox-wrapper}/bin/pywalfox-wrapper"
] (lib.readFile "${pkgs.pywalfox-native}/lib/python3.12/site-packages/pywalfox/assets/manifest.json");
};
}