meta: Rename homeManagerModules attribute to homeModules

This fixes an issue where previously homeManagerModules would be an
unknown flake output. Note that this change is a part of Nix 2.22.3
but not Nix 2.23.3.
This commit is contained in:
Donovan Glover 2024-07-18 19:41:23 -04:00
parent e45b3b6af1
commit ce67ffbf73
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
6 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ in
};
home-manager.sharedModules = attrValues {
inherit (nix-config.homeManagerModules)
inherit (nix-config.homeModules)
fish
git
gtk

View File

@ -13,7 +13,7 @@ in
};
};
home-manager.sharedModules = attrValues nix-config.homeManagerModules ++ singleton {
home-manager.sharedModules = attrValues nix-config.homeModules ++ singleton {
programs.btop.enable = true;
};

View File

@ -32,7 +32,7 @@
inherit (nixpkgs.legacyPackages) x86_64-linux aarch64-linux;
inherit (builtins) attrNames listToAttrs map replaceStrings readDir;
flakeOutputs = [ "overlays" "nixosModules" "homeManagerModules" "packages" "checks" ];
flakeOutputs = [ "overlays" "nixosModules" "homeModules" "packages" "checks" ];
flakeDirectories = [ "overlays" "modules" "home" "packages" "tests" ];
in
{

View File

@ -6,7 +6,7 @@ in
{
imports = attrValues self.nixosModules;
nixpkgs.overlays = attrValues self.overlays;
home-manager.sharedModules = attrValues self.homeManagerModules;
home-manager.sharedModules = attrValues self.homeModules;
environment.systemPackages = attrValues self.packages.${pkgs.system};
modules = {

View File

@ -20,7 +20,7 @@ in
};
home-manager.sharedModules = attrValues {
inherit (self.homeManagerModules)
inherit (self.homeModules)
alacritty
eza
fish

View File

@ -14,7 +14,7 @@ in
};
home-manager.sharedModules = attrValues {
inherit (nix-config.homeManagerModules) neovim;
inherit (nix-config.homeModules) neovim;
};
};