This commit is contained in:
Aubrey 2025-01-26 13:15:34 -06:00
parent 08664b4309
commit 6d8767d93b
No known key found for this signature in database

View file

@ -30,6 +30,9 @@
with pkgs; { with pkgs; {
formatter = alejandra; formatter = alejandra;
defaultPackage = pkgs.callPackage ./. {}; defaultPackage = pkgs.callPackage ./. {};
}
)
// flake-utils.lib.eachDefaultSystemPassThrough (system: {
nixosModules.default = { nixosModules.default = {
config, config,
lib, lib,
@ -42,9 +45,11 @@
type = lib.types.string; type = lib.types.string;
description = "The webhook to post the messages to"; description = "The webhook to post the messages to";
}; };
users = lib.mkOption { users =
lib.mkOption {
type = lib.types.listOf lib.types.attrs; type = lib.types.listOf lib.types.attrs;
} // { }
// {
name = lib.mkOption { name = lib.mkOption {
type = lib.types.string; type = lib.types.string;
}; };
@ -73,6 +78,5 @@
}; };
}; };
}; };
} });
);
} }