From 131f23aab46932474d684d390b082a839ca5736f Mon Sep 17 00:00:00 2001 From: Linus Ammon <235536459+linusammon@users.noreply.github.com> Date: Sun, 19 Apr 2026 14:07:47 +0200 Subject: [PATCH] chore(nix): add systemd deprecation warnings --- nix/home-module.nix | 6 ++++++ nix/nixos-module.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/nix/home-module.nix b/nix/home-module.nix index bb68b43ec..c39f20097 100644 --- a/nix/home-module.nix +++ b/nix/home-module.nix @@ -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"; diff --git a/nix/nixos-module.nix b/nix/nixos-module.nix index 2f6c84cdb..1ea605acd 100644 --- a/nix/nixos-module.nix +++ b/nix/nixos-module.nix @@ -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" ];