Re-enable Emacs service, don't import work.nix for Vanguard

This commit is contained in:
Evie Litherland-Smith 2024-06-06 17:25:44 +01:00
parent 80f9c53384
commit fd35f72cd2
4 changed files with 13 additions and 5 deletions

View file

@ -1,7 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./default.nix ./default.nix
./work.nix
../programs/games/default.nix ../programs/games/default.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -1,4 +1,5 @@
{ {
config,
pkgs, pkgs,
fonts, fonts,
... ...
@ -7,6 +8,14 @@
./python/default.nix ./python/default.nix
./lua/default.nix ./lua/default.nix
]; ];
services.emacs = {
enable = true;
package = config.programs.emacs.finalPackage;
defaultEditor = true;
client.enable = true;
socketActivation.enable = false;
startWithUserSession = true;
};
programs.emacs = { programs.emacs = {
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git # Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
# git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d # git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d

View file

@ -66,10 +66,6 @@
ignoreSpace = true; ignoreSpace = true;
expireDuplicatesFirst = true; expireDuplicatesFirst = true;
}; };
localVariables = {
"EDITOR" = "emacs -nw";
"VISUAL" = "emacs";
};
initExtra = '' initExtra = ''
## completion config and styling ## completion config and styling
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'

View file

@ -30,6 +30,10 @@
user = "elitherl"; user = "elitherl";
hostname = "freia027.hpc.l"; hostname = "freia027.hpc.l";
}; };
"heimdall" = {
user = "elitherl";
hostname = "heimdall003.jet.uk";
};
}; };
}; };
} }