From 6cc16025291dac70f5c7428707e036f3eb87c0d0 Mon Sep 17 00:00:00 2001 From: xmm16 Date: Wed, 11 Dec 2024 00:07:40 -0300 Subject: [PATCH] Emacs --- hosts/micronix/system.nix | 11 +++-------- hosts/micronix/users.nix | 6 ++++++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hosts/micronix/system.nix b/hosts/micronix/system.nix index 21b34e2..f14aecf 100644 --- a/hosts/micronix/system.nix +++ b/hosts/micronix/system.nix @@ -1,19 +1,14 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ - config, - pkgs, - libs, - ... -}: { +{pkgs, ...}: { boot.initrd.systemd = { enable = true; tpm2 = {enable = true;}; dbus = {enable = true;}; }; - boot.kernelPackages = pkgs.linuxPackages_cachyos; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelParams = [ "default_hugepagesz=1G" @@ -181,7 +176,7 @@ oxygen libqaccessibilityclient ]; - + services.dbus = { implementation = "broker"; }; diff --git a/hosts/micronix/users.nix b/hosts/micronix/users.nix index f7b0b18..142e83f 100644 --- a/hosts/micronix/users.nix +++ b/hosts/micronix/users.nix @@ -4,6 +4,7 @@ inherit (pkgs) wget2 + emacs30-pgtk alacritty firefox vesktop @@ -19,4 +20,9 @@ "libvirtd" ]; }; + services.emacs = { + enable = true; + defaultEditor = true; + startWithGraphical = true; + }; }