From 7889a68eb0327f21175bc5abc187d68763fced64 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Wed, 11 Sep 2024 22:47:26 +0200 Subject: Set up basic emacs config --- share/system/client-common.nix | 6 +++++- share/system/emacs.nix | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 share/system/emacs.nix (limited to 'share/system') diff --git a/share/system/client-common.nix b/share/system/client-common.nix index 49e2472..aa8550f 100644 --- a/share/system/client-common.nix +++ b/share/system/client-common.nix @@ -1,10 +1,14 @@ # Common configuration options for client machines (i.e. not servers) { inputs, pkgs, ... }: { - imports = [ ./steam.nix ]; + imports = [ + ./steam.nix + ./emacs.nix + ]; nixpkgs = { overlays = [ inputs.rust-overlay.overlays.default + inputs.emacs-overlay.overlays.default (import ../overlay.nix) ]; config = { diff --git a/share/system/emacs.nix b/share/system/emacs.nix new file mode 100644 index 0000000..c846ad7 --- /dev/null +++ b/share/system/emacs.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: +{ + services.emacs = { + enable = true; + install = true; + package = pkgs.sorremacs; + }; + + environment.systemPackages = [ pkgs.sorremacs ]; +} -- cgit v1.3.1