mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(nix): set warnings as top-level config
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
+7
-6
@@ -182,13 +182,14 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
warnings = lib.mkIf cfg.systemd.enable [
|
||||
''
|
||||
Running noctalia-shell as a systemd service has been deprecated!
|
||||
See https://docs.noctalia.dev/getting-started/nixos/#running-the-shell for details.
|
||||
''
|
||||
];
|
||||
|
||||
systemd.user.services.noctalia-shell = lib.mkIf cfg.systemd.enable {
|
||||
warnings = [
|
||||
''
|
||||
Running noctalia-shell as a systemd service has been deprecated!
|
||||
See https://docs.noctalia.dev/getting-started/nixos/#running-the-shell for details.
|
||||
''
|
||||
];
|
||||
Unit = {
|
||||
Description = "Noctalia Shell - Wayland desktop shell";
|
||||
Documentation = "https://docs.noctalia.dev";
|
||||
|
||||
Reference in New Issue
Block a user