phone: Only import needed home-manager modules

Now that hyprland is confirmed to be a no-go for the phone, this commit
begins making the system closure smaller.
This commit is contained in:
Donovan Glover 2024-06-24 19:10:49 -04:00
parent e36fcaf2c6
commit 939cdb90e9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -6,7 +6,25 @@ in
{
imports = attrValues self.nixosModules;
nixpkgs.overlays = attrValues self.overlays;
home-manager.sharedModules = attrValues self.homeManagerModules;
home-manager.sharedModules = attrValues {
inherit (self.homeManagerModules)
eza
fcitx
fish
git
gpg
gtk
htop
librewolf
neovim
starship
thunar
xdg-user-dirs
xresources
;
};
environment.systemPackages = attrValues self.packages.${pkgs.system};
modules = {