added host Marisa (haven't tested config yet)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
imports = [
|
||||
./programs/nvim.nix
|
||||
./programs/ncmpcpp.nix
|
||||
./programs/emacs.nix
|
||||
];
|
||||
programs = {
|
||||
firefox = {
|
||||
@@ -31,8 +32,5 @@
|
||||
save-position-on-quit = "yes";
|
||||
};
|
||||
};
|
||||
emacs = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
21
home/stuff/programs/emacs.nix
Normal file
21
home/stuff/programs/emacs.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
extraPackages = epkgs: with epkgs; [
|
||||
elcord
|
||||
gruvbox-theme
|
||||
ivy
|
||||
rainbow-delimiters
|
||||
];
|
||||
overrides = self: super: {
|
||||
gruvbox-theme = self.melpaPackages.gruvbox-theme.overrideAttrs(_: {
|
||||
patches = [ ../../config/emacs/gruvbox-el.patch ];
|
||||
});
|
||||
};
|
||||
};
|
||||
home.file.emacs = {
|
||||
source = ../../config/emacs/init.el;
|
||||
target = "${config.home.homeDirectory}/.emacs.d/init.el";
|
||||
};
|
||||
}
|
@@ -13,7 +13,7 @@ let
|
||||
let g:floaterm_width=0.8
|
||||
let g:floaterm_height=0.8
|
||||
let g:floaterm_wintitle=0
|
||||
let g:floaterm_shell="/usr/bin/env fish"
|
||||
let g:floaterm_shell="/usr/bin/env zsh"
|
||||
'';
|
||||
plugin = pkgs.vimPlugins.vim-floaterm;
|
||||
};
|
||||
@@ -60,10 +60,10 @@ in
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
vimAlias = false;
|
||||
viAlias = false;
|
||||
# withNodeJs = true;
|
||||
# withPython = true;
|
||||
withNodeJs = false;
|
||||
withPython = false;
|
||||
extraConfig = ''
|
||||
let g:gruvbox_italic=1
|
||||
let g:gruvbox_contrast_dark="hard"
|
||||
@@ -75,7 +75,7 @@ in
|
||||
builtins.readFile ../../config/nvim/utils.vim;
|
||||
plugins = with plugs; [
|
||||
auto-pairs
|
||||
#nvim-colorizer
|
||||
# nvim-colorizer
|
||||
floaterm
|
||||
vim-rooter
|
||||
nerdcommenter
|
||||
|
Reference in New Issue
Block a user