refactor(nix-hm): use bob-nvim as overlay

This commit is contained in:
Price Hiller 2024-01-06 00:48:28 -06:00
parent dd8b9f4ace
commit faf51c679a
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, config, bob, ... }: { pkgs, config, ... }:
let let
dotsDir = "${config.home.homeDirectory}/.dot_files/dots"; dotsDir = "${config.home.homeDirectory}/.dot_files/dots";
softLinkDots = dir: softLinkDots = dir:
@ -18,7 +18,7 @@ in
programs.home-manager.enable = true; programs.home-manager.enable = true;
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
bob.packages.${pkgs.system}.default bob-nvim
sqlite sqlite
luajit luajit
imagemagick imagemagick

View File

@ -24,9 +24,6 @@
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration { homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = {
inherit bob;
};
modules = [ modules = [
({ ({
nixpkgs.overlays = [ nixpkgs.overlays = [
@ -38,6 +35,7 @@
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11 wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
''; '';
}); });
bob-nvim = bob.overlays.${system}.default;
opensnitch-ui = super.opensnitch-ui.overrideAttrs opensnitch-ui = super.opensnitch-ui.overrideAttrs
(oldAttrs: rec { (oldAttrs: rec {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [