Merge pull request #2506 from Scrumplex/nix/fix-hm-systemd-warning

fix(nix): set warnings as top-level config
This commit is contained in:
Lemmy
2026-04-22 16:16:24 -04:00
committed by GitHub
+7 -6
View File
@@ -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";