infra/module/aspect/base/home-manager.nix

22 lines
539 B
Nix
Raw Normal View History

2025-12-01 13:23:24 +07:00
{
2025-12-01 14:59:40 +07:00
flake-file.inputs = {
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
2025-12-01 13:23:24 +07:00
den.aspects = {
base = {
homeManager =
{ config, ... }:
{
home.homeDirectory = "/home/${config.home.username}";
programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch";
};
};
};
}
/*
https://ohai.social/@rycee/112502545466617762
https://github.com/nix-community/home-manager/issues/5452
*/