treewide: remove unused code (#6985)

This commit is contained in:
awwpotato 2025-05-07 08:03:21 -07:00 committed by GitHub
parent 76274a2130
commit 5da6eafceb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
87 changed files with 613 additions and 749 deletions

View file

@ -16,31 +16,28 @@ let
cfg = config.programs.fish;
pluginModule = types.submodule (
{ config, ... }:
{
options = {
src = mkOption {
type = types.path;
description = ''
Path to the plugin folder.
pluginModule = types.submodule {
options = {
src = mkOption {
type = types.path;
description = ''
Path to the plugin folder.
Relevant pieces will be added to the fish function path and
the completion path. The {file}`init.fish` and
{file}`key_binding.fish` files are sourced if
they exist.
'';
};
name = mkOption {
type = types.str;
description = ''
The name of the plugin.
'';
};
Relevant pieces will be added to the fish function path and
the completion path. The {file}`init.fish` and
{file}`key_binding.fish` files are sourced if
they exist.
'';
};
}
);
name = mkOption {
type = types.str;
description = ''
The name of the plugin.
'';
};
};
};
functionModule = types.submodule {
options = {
@ -480,7 +477,6 @@ in
destructiveSymlinkJoin =
args_@{
name,
paths,
preferLocalBuild ? true,
allowSubstitutes ? false,
postBuild ? "",