diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-11 22:47:26 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-11 23:38:43 +0200 |
| commit | 7889a68eb0327f21175bc5abc187d68763fced64 (patch) | |
| tree | b28d4742b26c84ae2de08f8a83a22c7eefb39da8 /share/system | |
| parent | 98e24a0e287d07ab2e0e0cab2cb343ed23b97cf4 (diff) | |
Set up basic emacs config
Diffstat (limited to 'share/system')
| -rw-r--r-- | share/system/client-common.nix | 6 | ||||
| -rw-r--r-- | share/system/emacs.nix | 10 |
2 files changed, 15 insertions, 1 deletions
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 ]; +} |
