From 2b21b49efa1fec2d7744ff20de01115f98e96ad3 Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Tue, 28 Nov 2023 12:40:45 +0800 Subject: [PATCH] update nixos module --- module.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/module.nix b/module.nix index 47ba05b..028217f 100644 --- a/module.nix +++ b/module.nix @@ -16,20 +16,15 @@ extraGSettingsOverridePackages = [ pkgs.gnome.mutter ]; }; - services.logind.extraConfig = '' - HandlePowerKey=ignore - HandlePowerKeyLongPress=poweroff - ''; + services.logind.powerKey = "ignore"; + services.logind.powerKeyLongPress = "poweroff"; # Installed by default but not mobile friendly yet environment.gnome.excludePackages = with pkgs.gnome; [ - pkgs.gnome-photos totem # Videos simple-scan # Document Scanner gnome-system-monitor yelp # Help - cheese - nautilus # Files gnome-music baobab # Disk Usage Analyser evince # Document Viewer