···2525# Per user
2626den.hosts.x86_64-linux.igloo.users.tux.classes = [ "homeManager" "hjem" ];
27272828-# Globally for all users
2929-den.base.user.classes = [ "homeManager" ];
2828+# As default for all users, unless they specify other classes.
2929+den.base.user.classes = lib.mkDefault [ "homeManager" ];
3030```
31313232Home integration contexts, like `den.ctx.hm-host` only activate when
···4646 den.provides.home-manager =
4747 _:
4848 throw ''
4949- NOTICE: den.provides.home-manager aspect is not used anymore.
5050- See https://den.oeiuwq.com/guides/home-manager/
4949+ NOTICE: den.provides.home-manager aspect is not used anymore.
5050+ See https://den.oeiuwq.com/guides/home-manager/
51515252- Home Manager is now enabled via host config:
5252+ Since den.ctx.hm-host requires least one user with homeManager class,
5353+ Home Manager is now enabled via options.
53545454- # den.ctx.hm-host requires least one user with homeManager class.
5555- den.hosts.x86_64-linux.igloo.users.tux.classes = [ "homeManager" ];
5555+ For all users unless they set a value:
56565757- Globally:
5757+ den.base.user.classes = lib.mkDefault [ "homeManager" ];
58585959- den.base.user.classes = [ "homeManager" ];
5959+ On specific users:
60606161- See <den/home-manager/hm-os.nix>
6161+ den.hosts.x86_64-linux.igloo.users.tux.classes = [ "homeManager" ];
62626363- If you had includes at den._.home-manager, you can use:
6363+ See <den/home-manager/hm-os.nix>
64646565- den.ctx.hm-host.includes = [ ... ];
6565+ If you had includes at den._.home-manager, you can use:
66666767- For attaching aspects to home-manager enabled hosts.
6767+ den.ctx.hm-host.includes = [ ... ];
6868+6969+ For attaching aspects to home-manager enabled hosts.
6870 '';
69717072 den.ctx.home.description = "Standalone Home-Manager config provided by home aspect";
···22222323 expr = lib.sort (a: b: a < b) den.hosts.x86_64-linux.igloo.users.tux.classes;
2424 expected = [
2525- "homeManager" # this one comes from globally enabled at test support.
2625 "homeManager"
2726 "maid"
2827 ];