Skip to content

Commit

Permalink
fix(module::guardian): remove assertion leading to cryptic error
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed Jul 9, 2024
1 parent 7083dbd commit f213ddc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nixos/modules/dotfield/_guardian.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ in
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = cfg.username != null;
message = "Username must be set when Guardian module enabled.";
}
{
assertion = hasAttr cfg.username config.users.users;
message = "Specified Guardian user '${cfg.username}' does not exist.";
Expand Down

0 comments on commit f213ddc

Please sign in to comment.