From faf51c679a8811ffc2e3b8951311c7cf5065b601 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 6 Jan 2024 00:48:28 -0600 Subject: [PATCH] refactor(nix-hm): use bob-nvim as overlay --- config/default.nix | 4 ++-- flake.nix | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/default.nix b/config/default.nix index 131b6432..d1d02618 100644 --- a/config/default.nix +++ b/config/default.nix @@ -1,4 +1,4 @@ -{ pkgs, config, bob, ... }: +{ pkgs, config, ... }: let dotsDir = "${config.home.homeDirectory}/.dot_files/dots"; softLinkDots = dir: @@ -18,7 +18,7 @@ in programs.home-manager.enable = true; home = { packages = with pkgs; [ - bob.packages.${pkgs.system}.default + bob-nvim sqlite luajit imagemagick diff --git a/flake.nix b/flake.nix index 4187e3bd..1b2e4d55 100644 --- a/flake.nix +++ b/flake.nix @@ -24,9 +24,6 @@ targets.genericLinux.enable = true; homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.${system}; - extraSpecialArgs = { - inherit bob; - }; modules = [ ({ nixpkgs.overlays = [ @@ -38,6 +35,7 @@ wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11 ''; }); + bob-nvim = bob.overlays.${system}.default; opensnitch-ui = super.opensnitch-ui.overrideAttrs (oldAttrs: rec { propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [