added host Marisa (haven't tested config yet)

This commit is contained in:
2021-05-19 06:28:14 +05:30
parent a3033000a9
commit 63262b85ff
28 changed files with 1465 additions and 133 deletions

View File

@@ -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;
};
};
}

View 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";
};
}

View File

@@ -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