Adding import ./emacs.nix

This commit is contained in:
2026-03-14 19:33:11 +00:00
parent ba1977a667
commit 83c077fa29
2 changed files with 159 additions and 136 deletions
+12
View File
@@ -1773,6 +1773,13 @@ This sets up the emacs terminal
{ pkgs, ... }: { pkgs, ... }:
{ {
# NixOS Configuration
environment.systemPackages = with pkgs; [
# Add system-wide packages here, if any
];
# Home Manager Configuration for the user 'henrov'
home-manager.users.henrov = {
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacs-pgtk.override { withTreeSitter = true; }; package = pkgs.emacs-pgtk.override { withTreeSitter = true; };
@@ -1853,7 +1860,12 @@ This sets up the emacs terminal
target = ".emacs.d/init.el"; target = ".emacs.d/init.el";
}; };
}; };
};
# If you need additional services or system configurations, add them here
services.nextcloud-client.enable = true;
} }
#+END_SRC #+END_SRC
** =generated/system/applications/terminal_shell/early-init.el= ** =generated/system/applications/terminal_shell/early-init.el=
@@ -1,6 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# NixOS Configuration
environment.systemPackages = with pkgs; [
# Add system-wide packages here, if any
];
# Home Manager Configuration for the user 'henrov'
home-manager.users.henrov = {
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacs-pgtk.override { withTreeSitter = true; }; package = pkgs.emacs-pgtk.override { withTreeSitter = true; };
@@ -81,4 +88,8 @@
target = ".emacs.d/init.el"; target = ".emacs.d/init.el";
}; };
}; };
};
# If you need additional services or system configurations, add them here
services.nextcloud-client.enable = true;
} }