mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
e45b3b6af1
commit
ce67ffbf73
@ -13,7 +13,7 @@ in
|
||||
};
|
||||
|
||||
home-manager.sharedModules = attrValues {
|
||||
inherit (nix-config.homeManagerModules)
|
||||
inherit (nix-config.homeModules)
|
||||
fish
|
||||
git
|
||||
gtk
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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 = {
|
||||
|
@ -20,7 +20,7 @@ in
|
||||
};
|
||||
|
||||
home-manager.sharedModules = attrValues {
|
||||
inherit (self.homeManagerModules)
|
||||
inherit (self.homeModules)
|
||||
alacritty
|
||||
eza
|
||||
fish
|
||||
|
@ -14,7 +14,7 @@ in
|
||||
};
|
||||
|
||||
home-manager.sharedModules = attrValues {
|
||||
inherit (nix-config.homeManagerModules) neovim;
|
||||
inherit (nix-config.homeModules) neovim;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user