Don't use Emacs service on laptops or server, only desktops
This commit is contained in:
parent
2e7f160196
commit
92b6e0e325
|
@ -19,6 +19,7 @@
|
|||
};
|
||||
home-manager.users.${username} = {
|
||||
imports = [ ./home/emacs/default.nix ];
|
||||
services.emacs.enable = false;
|
||||
home.stateVersion = "23.05";
|
||||
};
|
||||
system.stateVersion = "23.05";
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../shell/default.nix
|
||||
|
@ -14,7 +19,7 @@
|
|||
base16-theme-highlight-mode-line 'contrast)
|
||||
'';
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
enable = lib.mkDefault true;
|
||||
package = config.programs.emacs.finalPackage;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
|
@ -22,7 +27,6 @@
|
|||
startWithUserSession = "graphical";
|
||||
};
|
||||
programs.emacs = {
|
||||
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
|
||||
enable = true;
|
||||
package = pkgs.emacs29.override {
|
||||
withImageMagick = true;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
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 = {
|
||||
|
|
Loading…
Reference in a new issue