feat(darwin): Add stylix and user modules

This commit is contained in:
Mohammad Rafiq 2025-07-14 00:18:04 +08:00
parent 65659908cf
commit 9470ea2f90
No known key found for this signature in database
3 changed files with 20 additions and 0 deletions

View file

@ -9,4 +9,12 @@
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
};
flake.modules.darwin.default =
{ pkgs, ... }:
{
imports = [ inputs.stylix.darwinModules.stylix ];
stylix.enable = true;
#TODO: move into manifest
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
};
}

View file

@ -31,4 +31,14 @@ in
}
);
};
flake.modules.darwin.default =
{ config, ... }:
{
home-manager.users = forAllUsers' (
name: _: {
home.username = name;
home.homeDirectory = config.users.users.${name}.home;
}
);
};
}