Compare commits

...

2 commits

Author SHA1 Message Date
2abebe085a Ass spellcheck files 2023-10-01 16:10:52 +02:00
063248c401 Add direnv package and configuration 2023-10-01 16:10:52 +02:00
3 changed files with 23 additions and 1 deletions

View file

@ -9,5 +9,6 @@
./vifm
./bat.nix
./eza.nix
./direnv.nix
];
}

View file

@ -0,0 +1,7 @@
{
programs.direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
}

View file

@ -1,5 +1,19 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
let
nvim-spell-fr-utf8-dictionary = builtins.fetchurl {
url = "http://ftp.vim.org/vim/runtime/spell/fr.utf-8.spl";
sha256 = "abfb9702b98d887c175ace58f1ab39733dc08d03b674d914f56344ef86e63b61";
};
nvim-spell-fr-utf8-suggestions = builtins.fetchurl {
url = "http://ftp.vim.org/vim/runtime/spell/fr.utf-8.sug";
sha256 = "0294bc32b42c90bbb286a89e23ca3773b7ef50eff1ab523b1513d6a25c6b3f58";
};
in
{
home.file."${config.xdg.configHome}/nvim/spell/fr.utf-8.spl".source = nvim-spell-fr-utf8-dictionary;
home.file."${config.xdg.configHome}/nvim/spell/fr.utf-8.sug".source = nvim-spell-fr-utf8-suggestions;
programs.neovim = {
enable = true;
defaultEditor = true;