From bf654b5a7f6a0658974d496e4e93a4cfcd6fbbdd Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 21 Jun 2025 23:53:27 +0200 Subject: [PATCH] feat(marpa): disable power button --- hosts/marpa/services/default.nix | 1 + hosts/marpa/services/logind.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 hosts/marpa/services/logind.nix diff --git a/hosts/marpa/services/default.nix b/hosts/marpa/services/default.nix index 7480132..4a279fb 100644 --- a/hosts/marpa/services/default.nix +++ b/hosts/marpa/services/default.nix @@ -1,5 +1,6 @@ { imports = [ + ./logind.nix ../../../modules/ssh.nix ../../../modules/sunshine.nix ../../../modules/xserver.nix diff --git a/hosts/marpa/services/logind.nix b/hosts/marpa/services/logind.nix new file mode 100644 index 0000000..d16793a --- /dev/null +++ b/hosts/marpa/services/logind.nix @@ -0,0 +1,6 @@ +{ + services.logind = { + powerKey = "ignore"; + powerKeyLongPress = "ignore"; + }; +}