From 3a477c2517c9334f0a57c97017fe71564ffe4f23 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 12 Dec 2024 05:37:11 +0000 Subject: [PATCH] Actually disable Emacs service for laptops --- system/laptop.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/system/laptop.nix b/system/laptop.nix index 6c3cbc1e..677a6b29 100644 --- a/system/laptop.nix +++ b/system/laptop.nix @@ -1,10 +1,17 @@ -{ pkgs, ... }: +{ + lib, + pkgs, + username, + ... +}: { imports = [ ./desktop.nix ]; + home-manager.users.${username} = { + services.emacs.enable = lib.mkForce false; + }; environment.systemPackages = [ pkgs.acpi ]; powerManagement.enable = true; networking.networkmanager.wifi.powersave = true; - services.emacs.enable = false; services.auto-cpufreq = { enable = false; # TEMP, conflict with power-profiles-daemon settings = {