discocss: fix attribute name

This commit is contained in:
Robert Helgesson 2022-10-13 11:52:24 +02:00
parent 2d8e5a9934
commit 618ab0f882
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -32,7 +32,7 @@ in {
config = mkIf cfg.enable {
assertions = [{
assertion = cfg.discordAlias
-> !(any (p: p.name == cfg.discord.name) config.home.packages);
-> !(any (p: p.name == cfg.discordPackage.name) config.home.packages);
message =
"To use discocss with discordAlias you have to remove discord from home.packages, or set discordAlias to false.";
}];