Added ytdlp alias and changed folder structure
This commit is contained in:
parent
49de25db5a
commit
2e2312fab7
|
@ -3,6 +3,11 @@
|
|||
userName = "nate";
|
||||
fullName = "Nathan Anderson";
|
||||
email = "n8r@tuta.io";
|
||||
davinciDesktop = pkgs.makeDesktopItem {
|
||||
name = "davinci-resolve-studio";
|
||||
desktopName = "Davinci Resolve Studio";
|
||||
exec = "${pkgs.davinci-resolve-studio}";
|
||||
};
|
||||
in
|
||||
{
|
||||
# nixpkgs.overlays = [
|
||||
|
@ -27,6 +32,8 @@
|
|||
firefoxApp.enable = true;
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# nur.repos.crazazy.js.eslint
|
||||
# inputs.nixpkgs-stable.legacyPackages.x86_64-linux.corectrl
|
||||
|
@ -88,6 +95,7 @@
|
|||
# Photo / Video
|
||||
#
|
||||
davinci-resolve-studio
|
||||
davinciDesktop
|
||||
imv
|
||||
mpv
|
||||
gimp
|
||||
|
@ -193,6 +201,9 @@
|
|||
# cd $DIR
|
||||
# }
|
||||
# alias p="fzf_projects ~/source/"
|
||||
yt-audio() {
|
||||
nix-shell -p yt-dlp --run "yt-dlp -x $1 --audio-format mp3"
|
||||
}
|
||||
|
||||
# Better Unix Aliases
|
||||
# alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'"
|
||||
|
|
|
@ -157,7 +157,7 @@ in
|
|||
systemd.services."pixel-backups" = {
|
||||
script = ''
|
||||
# Move files older than 90 days to the backups file
|
||||
find /nfs_export/kage/syncthing/pixel_images/ -type f -mtime +90 | xargs -I {} mv {} /nfs_export/kage/Personal_Media/Nate/
|
||||
find /nfs_export/kage/syncthing/pixel_images/ -type f -mtime +90 | xargs -I {} mv {} /nfs_export/kage/Personal/Nate/Phone_Images
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
|
Loading…
Reference in New Issue
Block a user