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