build(flake): add home-manager and example config

This commit is contained in:
Mohammad Rafiq 2025-07-06 22:40:22 +08:00
parent 1fc8230bfc
commit f670889e29
No known key found for this signature in database
5 changed files with 53 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{ inputs, ... }:
let
hm = inputs.home-manager;
globalCfg = {
imports = [ hm.nixosModules.home-manager ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
};
in
{
imports = [ hm.flakeModules.home-manager ];
flake.modules.nixos.common = globalCfg;
}