diff --git a/modules/home/services/cliphist.nix b/modules/home/services/cliphist.nix index 43f7baf..f12b310 100644 --- a/modules/home/services/cliphist.nix +++ b/modules/home/services/cliphist.nix @@ -10,7 +10,7 @@ config = lib.mkIf config.custom.services.cliphist.enable { assertions = lib.singleton { assertion = config.custom.programs.rofi.enable; - message = "Cliphist requires Rofi."; + message = "Cliphist requires Rofi"; }; services.cliphist = { diff --git a/modules/system/services/syncthing.nix b/modules/system/services/syncthing.nix index c6a37e0..291f5b9 100644 --- a/modules/system/services/syncthing.nix +++ b/modules/system/services/syncthing.nix @@ -41,11 +41,11 @@ in assertions = [ { assertion = config.custom.services.tailscale.enable; - message = "Syncthing requires tailscale."; + message = "Syncthing requires tailscale"; } { assertion = cfg.isServer -> (cfg.gui.domain != null); - message = "Running syncthing on a server requires `gui.domain` to be set."; + message = "Running syncthing on a server requires `gui.domain` to be set"; } { assertion = (cfg.gui.domain != null) -> (lib'.isTailscaleDomain cfg.gui.domain); diff --git a/modules/system/web-services/alloy.nix b/modules/system/web-services/alloy.nix index 6f86211..9694795 100644 --- a/modules/system/web-services/alloy.nix +++ b/modules/system/web-services/alloy.nix @@ -51,14 +51,14 @@ in |> lib.filter (name: name != "system") |> lib.map (name: { assertion = cfg.collect.metrics.${name} -> config.services.${name}.enable; - message = "Collecting ${name} metrics requires the ${name} service to be enabled."; + message = "Collecting ${name} metrics requires the ${name} service to be enabled"; }); logsAssertions = cfg.collect.logs |> lib.attrNames |> lib.map (name: { assertion = cfg.collect.logs.${name} -> config.services.${name}.enable; - message = "Collecting ${name} logs requires the ${name} service to be enabled."; + message = "Collecting ${name} logs requires the ${name} service to be enabled"; }); in metricsAssertions ++ logsAssertions;