From 047d2bc8ac99f34b6ee56c71353942689ace1f5c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 14:10:39 +0200 Subject: fix(modules/home): Use the canonical package name from `by-name` --- modules/home/conf/nvim/plgs/treesitter/default.nix | 5 ++--- modules/home/pkgs/default.nix | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'modules/home') diff --git a/modules/home/conf/nvim/plgs/treesitter/default.nix b/modules/home/conf/nvim/plgs/treesitter/default.nix index 656b4ce3..13d27348 100644 --- a/modules/home/conf/nvim/plgs/treesitter/default.nix +++ b/modules/home/conf/nvim/plgs/treesitter/default.nix @@ -1,5 +1,4 @@ { - osConfig, config, pkgs, lib, @@ -17,7 +16,7 @@ grammarPackages = config.programs.nixvim.plugins.treesitter.package.passthru.allGrammars - ++ [pkgs.yts-grammar]; + ++ [pkgs.tree-sitter-yts]; disabledLanguages = []; @@ -49,7 +48,7 @@ }; extraFiles = { "queries/yts/highlights.scm" = '' - ${lib.strings.fileContents "${pkgs.yts-grammar}/queries/highlights.scm"} + ${lib.strings.fileContents "${pkgs.tree-sitter-yts}/queries/highlights.scm"} ''; }; }; diff --git a/modules/home/pkgs/default.nix b/modules/home/pkgs/default.nix index a3768e40..2f1950ae 100644 --- a/modules/home/pkgs/default.nix +++ b/modules/home/pkgs/default.nix @@ -106,7 +106,7 @@ with pkgs; let Media = [ wf-recorder # Screen recorder. libnotify # a command to send a notification. - screenshot_persist # Creates a persisting screenshot. + screenshot_persistent # Creates a persisting screenshot. screenshot_temporary # Takes a screenshot and stores it in the clipboard. ]; }; @@ -123,9 +123,9 @@ with pkgs; let comments # Display comments of the currently playing video. description # Display the description of the currently playing video. - ytc # Download and watch a video from YouTube. - yts # Select videos from the subscribed channels to watch. - yt # Combination of `ytc` and `yts` that selects _and_ downloads videos. + yt.ytc # Download and watch a video from YouTube. + yt.yts # Select videos from the subscribed channels to watch. + yt.yt # Combination of `ytc` and `yts` that selects _and_ downloads videos. ]; Listen = [ -- cgit 1.4.1