Custom home manager class gets duplicated when using host-aspects battery
#642
Answered
by
sini
aveeryy
asked this question in
Help - Issues / Problem Solving / How To
|
Hi, after updating den to the latest commit I've been getting this error: After some testing I found out that having the I also made a bogus test that reproduces the issue: { denTest, ... }:
{
flake.tests.bogus = {
test-something = denTest (
{
den,
lib,
igloo,
tuxHm,
...
}:
let
obsidianClass =
{ class, aspect-chain }:
den._.forward {
each = lib.singleton class;
fromClass = _: "obsidian";
intoClass = _: "homeManager";
intoPath = _: [
"programs"
"obsidian"
];
fromAspect = _: lib.last aspect-chain;
guard = { options, ... }: options ? programs.obsidian;
};
in
{
den.default.includes = [
den._.host-aspects
obsidianClass
];
den.aspects.obsidian = {
obsidian.enable = true;
};
den.hosts.x86_64-linux.igloo.users.tux = { };
den.aspects.tux.includes = [ den.aspects.obsidian ];
expr = tuxHm.programs.obsidian.enable;
expected = true;
}
);
};
} |
Answered by
sini
Jul 31, 2026
Replies: 1 comment 2 replies
|
Thanks for the report. I'll take a look |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



#643 This should fix this