about summary refs log tree commit diff
path: root/nixos/modules/programs/rust-motd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/rust-motd.nix')
-rw-r--r--nixos/modules/programs/rust-motd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/programs/rust-motd.nix b/nixos/modules/programs/rust-motd.nix
index d5f1820ba7523..7fd89e1658efc 100644
--- a/nixos/modules/programs/rust-motd.nix
+++ b/nixos/modules/programs/rust-motd.nix
@@ -50,6 +50,7 @@ in {
       path = with pkgs; [ bash ];
       documentation = [ "https://github.com/rust-motd/rust-motd/blob/v${pkgs.rust-motd.version}/README.md" ];
       description = "motd generator";
+      wantedBy = [ "multi-user.target" ];
       serviceConfig = {
         ExecStart = "${pkgs.writeShellScript "update-motd" ''
           ${pkgs.rust-motd}/bin/rust-motd ${format.generate "motd.conf" cfg.settings} > motd