Add home manager modules to all homes.
Previously home manager modules were only added to minion@greylag, this
commit adds it to coded@shorthair as well as it is required for anyrun,
nur and hyprland.
Change-Id: I985a3f9c2780da82daeae462ff0fb46181103bb6
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/405
Tested-by: Samuel Shuert <coded@clicks.codes>
Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/flake.nix b/flake.nix
index e493e54..77d6f4d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,19 +36,24 @@
outputs =
{ self, nixpkgs, ... }@inputs:
- inputs.snowfall-lib.mkFlake {
+ let
+ extraHomeModules = [
+ inputs.anyrun.homeManagerModules.default
+ inputs.hyprland.homeManagerModules.default
+ inputs.nur.hmModules.nur
+ ];
+ in inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
- homes.modules = [
- # TODO: inputs.nix-index-database.hmModules.nix-index
- ];
+ # homes.modules = [
+ # TODO: inputs.nix-index-database.hmModules.nix-index
+ # ];
- homes.users."minion@greylag".modules = [
- inputs.hyprland.homeManagerModules.default
- inputs.anyrun.homeManagerModules.default
- inputs.nur.hmModules.nur
- ];
+ homes.users."coded@shorthair".modules = extraHomeModules;
+
+ homes.users."minion@greylag".modules = extraHomeModules;
+
system.modules.nixos = [
inputs.hyprland.nixosModules.default