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, ...}: {
imports = [
./default.nix
./work.nix
../programs/games/default.nix
];
home.packages = with pkgs; [

View file

@ -1,4 +1,5 @@
{
config,
pkgs,
fonts,
...
@ -7,6 +8,14 @@
./python/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 = {
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
# git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d

View file

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

View file

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