nixos/xss-lock: add warning for startx

This commit is contained in:
Preston Hunt 2024-04-26 18:30:08 -07:00
parent f7713016d9
commit 7f0158313d

View File

@ -42,5 +42,10 @@ in
]); ]);
serviceConfig.Restart = "always"; serviceConfig.Restart = "always";
}; };
warnings = lib.mkIf (config.services.xserver.displayManager.startx.enable) [
"xss-lock service only works if a displayManager is set; it doesn't work when services.xserver.displayManager.startx.enable = true"
];
}; };
} }