We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65ccb8 commit a1b1e2dCopy full SHA for a1b1e2d
machines/vm/shared.nix
@@ -135,6 +135,7 @@
135
136
# Enable configured sets of packages.
137
conf = {
138
+ emacs.enable = true;
139
conky.enable = true;
140
firefox.enable = true;
141
fish.enable = true;
modules/default.nix
@@ -1,5 +1,6 @@
1
[
2
./conky
3
+ ./emacs
4
./firefox
5
./fish
6
./fonts
modules/emacs/default.nix
@@ -0,0 +1,23 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
7
+
8
+let
9
+ cfg = config.conf.emacs;
10
+in
11
12
+ options.conf.emacs.enable = lib.mkEnableOption "emacs";
13
+ config = lib.mkIf cfg.enable {
14
+ services.emacs = {
15
+ enable = true;
16
+ package = pkgs.emacs.pkgs.withPackages (
17
+ epkgs: with epkgs; [
18
+ solarized-theme
19
+ ]
20
+ );
21
+ };
22
23
+}
0 commit comments