From 173ffc0044ea9d1217d8c4fd0d270ffee2037de0 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Wed, 16 Oct 2024 11:32:14 +0100 Subject: [PATCH] home-manager/gui: Add "Activate Linux" watermark --- home-manager/modules/gui/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home-manager/modules/gui/default.nix b/home-manager/modules/gui/default.nix index 5ae0a30..f693305 100644 --- a/home-manager/modules/gui/default.nix +++ b/home-manager/modules/gui/default.nix @@ -162,6 +162,19 @@ in }; Install.RequiredBy = [ "sway-session.target" ]; }; + + activate-linux = { + Unit = { + Description = "Linux activation watermark"; + After = "graphical-session.target"; + PartOf = "graphical-session.target"; + }; + Service = { + Type = "simple"; + ExecStart = "${pkgs.activate-linux}/bin/activate-linux"; + }; + Install.RequiredBy = [ "graphical-session.target" ]; + }; }; };