1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

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.";
}];