1

Home: Fix remaining name qualifications after module update

This commit is contained in:
2024-10-14 15:25:54 +02:00
parent 050969a892
commit cb0c880431
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ in {
config = lib.mkIf chromium.enable {
home.packages = with pkgs;
builtins.concatLists [
(optionals cfg.google [
(lib.optionals chromium.google [
google-chrome # Trash, but required for decker pdf export
# Required for some flatpak compatibility

View File

@ -15,14 +15,14 @@ in {
home.packages = with pkgs;
builtins.concatLists [
# TODO: I don't think vaapi works yet
(optionals cfg.vaapi [
(lib.optionals firefox.vaapi [
# NOTE: I put these into hardware.opengl.extrapackages, don't know if they belong there...
# libva
# libvdpau
])
# TODO: Derivation borked on standalone HM
# (optionals cfg.gnomeTheme [firefox-gnome-theme])
# (lib.optionals firefox.gnomeTheme [firefox-gnome-theme])
];
home.sessionVariables = lib.mkMerge [

View File

@ -114,7 +114,7 @@ in {
# These can be used for my config.modules and for HM config.programs,
# as both of these add the package to home.packages
hasHomePackage = package: (mylib.contains config.home.packages package);
hasHomePackage = package: (mylib.modules.contains config.home.packages package);
# Only add fish abbr if package is installed
abbrify = package: abbr: (lib.optionalAttrs (hasHomePackage package) abbr);

View File

@ -23,7 +23,7 @@ in {
packages = with pkgs;
builtins.concatLists [
(optionals cfg.neovide [neovide])
(lib.optionals neovim.neovide [neovide])
[
(pkgs.ripgrep.override {withPCRE2 = true;})