Re-enable Emacs service, don't import work.nix for Vanguard
This commit is contained in:
parent
80f9c53384
commit
fd35f72cd2
|
@ -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; [
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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}'
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
user = "elitherl";
|
user = "elitherl";
|
||||||
hostname = "freia027.hpc.l";
|
hostname = "freia027.hpc.l";
|
||||||
};
|
};
|
||||||
|
"heimdall" = {
|
||||||
|
user = "elitherl";
|
||||||
|
hostname = "heimdall003.jet.uk";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue