This commit is contained in:
Osman Faruk Bayram 2025-10-19 16:13:59 +03:00
parent b1cce6ca82
commit 3501857f2a
78 changed files with 1383 additions and 913 deletions

View file

@ -0,0 +1,21 @@
{ lib, config, inputs, ... }:
let
cfg = config.osbmModules;
in
{
config = lib.mkIf (cfg.homeManager.enable && inputs ? home-manager) {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
# Pass inputs and outputs to home-manager modules
extraSpecialArgs = { inherit inputs; };
# Configure home-manager for each user
users = lib.genAttrs cfg.users (username: {
home.stateVersion = lib.mkDefault "24.05";
imports = [ ../../home-manager ];
});
};
};
}