Trimmed out some unnecessary packages

This commit is contained in:
Emmet 2024-03-09 16:36:51 -06:00
parent 7f0daacd08
commit b5358a1adf
7 changed files with 31 additions and 135 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }:
{ pkgs, ... }:
let
myRetroarch =
(pkgs.retroarch.override {
@ -18,7 +18,7 @@ let
}))
dolphin
genesis-plus-gx
] ++ [pkgs-stable.libretro.citra];
];
});
in
{

View file

@ -1,25 +0,0 @@
{ pkgs, ... }:
let
myYtpScript = ''
#!/bin/sh
ytsub --video-player mpv
'';
myYtaScript = ''
#!/bin/sh
yt-dlp -x --audio-format mp3 $1
'';
myYtdScript = ''
#!/bin/sh
pushd ~/Media/Podcasts;
ytsub --video-player ~/.nix-profile/bin/yta;
popd;
'';
in
{
home.packages = [
pkgs.yt-dlp
(pkgs.writeScriptBin "ytp" myYtpScript)
(pkgs.writeScriptBin "yta" myYtaScript)
(pkgs.writeScriptBin "ytd" myYtdScript)
];
}

View file

@ -1,34 +0,0 @@
{ lib, fetchgit, pkgs, ... }:
let
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.stable.latest.minimal;
rustc = pkgs.rust-bin.stable.latest.minimal;
};
in
rustPlatform.buildRustPackage rec {
pname = "russ";
version = "unstable";
src = fetchgit {
url = "https://github.com/ckampfe/russ.git";
rev = "1482bb1df13738fdd4ea1badf2146a9ed8e6656e";
sha256 = "sha256-MvTMo2q/cQ/LQNdUV8SmHgGlA42kLl0i9mdcoAFV/I4=";
};
cargoSha256 = "sha256-/r1Dp7eh2qVYRGINVdPq6e8c9U/R2AzVEy/g+j/GRPo=";
checkType = "debug";
checkFlags = [
# network required tests don't work when building with nix for some reason
"--skip=rss::tests::it_fetches"
"--skip=rss::tests::it_subscribes_to_a_feed"
"--skip=rss::tests::refresh_feed_does_not_add_any_items_if_there_are_no_new_items"
];
meta = with lib; {
description = "A TUI RSS reader with vim-like controls and a local-first, offline-first focus ";
homepage = "https://github.com/ckampfe/russ";
license = licenses.agpl3Only;
maintainers = [];
};
}

View file

@ -1,28 +0,0 @@
{ lib, pkgs, ... }:
let
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.stable.latest.minimal;
rustc = pkgs.rust-bin.stable.latest.minimal;
};
in
rustPlatform.buildRustPackage rec {
pname = "ytsub";
version = "0.4.0";
src = fetchTarball {
url = "https://github.com/sarowish/ytsub/archive/refs/tags/v0.4.0.tar.gz";
sha256 = "1124mf5r2507d2939833xkavy2vi2rbws67dkim4vwah376k3rlf";
};
cargoSha256 = "sha256-pv4eKD2XgaDAJqSf3JzfnsayofmOSy4XRzZ8rkZrHAo=";
buildNoDefaultFeatures = true;
buildFeatures = [ "bundled_sqlite" ];
meta = with lib; {
description = "A subscriptions only TUI Youtube client that uses the Invidious API";
homepage = "https://github.com/sarowish/ytsub";
license = licenses.gpl3Only;
maintainers = [];
};
}

View file

@ -4,29 +4,26 @@
# Collection of useful CLI apps
home.packages = with pkgs; [
# Command Line
disfetch neofetch lolcat cowsay onefetch starfetch
disfetch lolcat cowsay
starfetch
cava
gnugrep gnused
killall
libnotify
timer
brightnessctl
gnugrep
bat eza fd bottom ripgrep
rsync
tmux
htop
hwinfo
unzip
brightnessctl
tmux
w3m
fzf
pandoc
hwinfo
pciutils
(pkgs.callPackage ../pkgs/smartcalc.nix { })
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
#(pkgs.callPackage ../pkgs/ytsub.nix { })
#(pkgs.callPackage ../pkgs/russ.nix { })
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
(pkgs.writeShellScriptBin "airplane-mode" ''
#!/bin/sh
connectivity="$(nmcli n connectivity)"
@ -42,6 +39,5 @@
imports = [
../bin/phoenix.nix # My nix command wrapper
../bin/ytsub-wrappers.nix # My ytsub wrapper
];
}