refactor: move stuff to common, remove need for ripgrep config

This commit is contained in:
matt1432 2023-10-15 15:31:49 -04:00
parent 11ca45ede7
commit 6a83bbf94a
6 changed files with 36 additions and 31 deletions
common

View file

@ -1,4 +1,4 @@
{ home-manager, lib, nixpkgs, nur, ... }: {
{ config, home-manager, lib, nixpkgs, nur, nix-melt, nurl, pkgs, ... }: {
imports = [
home-manager.nixosModules.default
./overlays/list.nix
@ -36,6 +36,32 @@
./modules/neovim
./modules/bash
];
home.packages = [
nix-melt.packages.x86_64-linux.default
nurl.packages.x86_64-linux.default
] ++
(with config.nur.repos.rycee; [
mozilla-addons-to-nix
]) ++
(with pkgs.nodePackages; [
undollar
]) ++
(with pkgs; [
neofetch
progress
wget
tree
mosh
rsync
killall
imagemagick
usbutils
]);
home.stateVersion = lib.mkDefault "23.05";
};
in {

View file

@ -7,8 +7,13 @@
enable = true;
enableBashIntegration = true;
};
ripgrep = {
enable = true;
arguments = [
"--no-config"
];
};
jq.enable = true;
ripgrep.enable = true;
starship = let
textColor = "#e3e5e5";