[NixOS] Enable emacs service in home manager again

This commit is contained in:
Ivan Malison 2023-08-22 16:35:21 -06:00
parent 98c38736fb
commit 0fd0490714
3 changed files with 18 additions and 0 deletions

View File

@ -11,7 +11,9 @@
./extra.nix
./games.nix
./git-sync.nix
./imalison.nix
./internet-computer.nix
./kat.nix
./keybase.nix
./nix.nix
./nixified.ai.nix

9
nixos/emacs.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs, config, specialArgs, ... }:
{
services.emacs = {
enable = true;
defaultEditor = true;
startWithUserSession = "graphical";
socketActivation.enable = true;
};
}

7
nixos/imalison.nix Normal file
View File

@ -0,0 +1,7 @@
{ ... }: {
home-manager.users.imalison = {
imports = [
./emacs.nix
];
};
}