make home manager modules composable

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-30 16:07:10 +03:00
parent 0f09e27daf
commit 9f9479b576
7 changed files with 51 additions and 242 deletions

View File

@ -1,16 +1,7 @@
{inputs, ...}: {
imports = with inputs; [
nix-index-database.hmModules.nix-index
self.homeModules.desktop
self.homeModules.programs
./programs.nix
{
imports = [
../../../dunamis/users/user/common.nix
../../../dunamis/users/user/programs.nix
./flatpak.nix
];
desktop.niri.enable = true;
home = {
stateVersion = "25.05";
sessionPath = [
"$HOME/.local/bin"
];
};
}