mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge pull request #2495 from linusammon/main
chore(nix): add systemd deprecation warnings
This commit is contained in:
@@ -183,6 +183,12 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
systemd.user.services.noctalia-shell = lib.mkIf cfg.systemd.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 = {
|
Unit = {
|
||||||
Description = "Noctalia Shell - Wayland desktop shell";
|
Description = "Noctalia Shell - Wayland desktop shell";
|
||||||
Documentation = "https://docs.noctalia.dev";
|
Documentation = "https://docs.noctalia.dev";
|
||||||
|
|||||||
@@ -24,6 +24,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
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 = {
|
systemd.user.services.noctalia-shell = {
|
||||||
description = "Noctalia Shell - Wayland desktop shell";
|
description = "Noctalia Shell - Wayland desktop shell";
|
||||||
documentation = [ "https://docs.noctalia.dev" ];
|
documentation = [ "https://docs.noctalia.dev" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user