Skip to content

Commit

Permalink
Move skim to misc
Browse files Browse the repository at this point in the history
Skim has no real config optins, so the custom module is not needed
Enable the skim nushell plugin if the hm module is enabled
  • Loading branch information
arunoruto committed Dec 16, 2024
1 parent 3fb4a11 commit 4eb936e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
2 changes: 0 additions & 2 deletions modules/home-manager/server/cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
./misc.nix
./ruff.nix
./serpl.nix
./skim.nix
./yazi.nix
./zellij.nix
];
Expand All @@ -23,7 +22,6 @@
bat.enable = lib.mkDefault true;
helix.enable = lib.mkDefault true;
serpl.enable = lib.mkDefault true;
skim.enable = lib.mkDefault true;
yazi.enable = lib.mkDefault true;
zellij.enable = lib.mkDefault true;
};
Expand Down
2 changes: 2 additions & 0 deletions modules/home-manager/server/cli/misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
enable = true;
};

skim.enable = true;

# vivid = {
# enable = true;
# theme = "gruvbox-dark";
Expand Down
14 changes: 0 additions & 14 deletions modules/home-manager/server/cli/skim.nix

This file was deleted.

2 changes: 1 addition & 1 deletion modules/home-manager/server/shell/nushell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,6 @@
(with pkgs.unstable.nushellPlugins; [
gstat
])
++ lib.optionals config.skim.enable [ pkgs.unstable.nushellPlugins.skim ];
++ lib.optionals config.programs.skim.enable [ pkgs.unstable.nushellPlugins.skim ];
};
}

0 comments on commit 4eb936e

Please sign in to comment.