chore(nix): add systemd deprecation warnings

This commit is contained in:
Linus Ammon
2026-04-19 14:07:47 +02:00
parent 4fa29ff386
commit 131f23aab4
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -183,6 +183,12 @@ in
config = lib.mkIf cfg.enable {
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";
+6
View File
@@ -24,6 +24,12 @@ in
};
config = lib.mkIf cfg.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.
''
];
systemd.user.services.noctalia-shell = {
description = "Noctalia Shell - Wayland desktop shell";
documentation = [ "https://docs.noctalia.dev" ];