mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 16:40:09 +03:00
nixos/xss-lock: add warning for startx
This commit is contained in:
parent
f7713016d9
commit
7f0158313d
@ -42,5 +42,10 @@ in
|
||||
]);
|
||||
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"
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user