Make development experience work
Add direnv to default build Add xonsh-direnv package to overlay and xonsh environment Add virtualisation options
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
nix-direnv.enableFlakes = true;
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.xonsh-direnv
|
||||
];
|
||||
}
|
||||
@@ -8,6 +8,7 @@ in {
|
||||
imports = [
|
||||
./modules
|
||||
./bash.nix
|
||||
./direnv.nix
|
||||
./git.nix
|
||||
./ssh.nix
|
||||
./vim.nix
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
"src.fedoraproject.org pkgs.fedoraproject.org" = {
|
||||
user = "greghellings";
|
||||
};
|
||||
|
||||
"127.*".extraOptions = {
|
||||
PubkeyAcceptedAlgorithms = "+ssh-rsa";
|
||||
HostkeyAlgorithms = "+ssh-rsa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -15,13 +15,16 @@ in
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
ansible-vim
|
||||
bufexplorer
|
||||
ctrlp
|
||||
direnv-vim
|
||||
nerdtree
|
||||
vim-gitgutter
|
||||
vim-flake8
|
||||
vim-fugitive
|
||||
vim-indent-guides
|
||||
vim-packer
|
||||
gruvbox
|
||||
syntastic
|
||||
];
|
||||
|
||||
@@ -49,6 +49,8 @@ in {
|
||||
# $? == _.rtn
|
||||
|
||||
import os
|
||||
|
||||
xontrib load direnv
|
||||
'';
|
||||
|
||||
#$PKG_CONFIG_PATH = '/usr/local/lib/pkgconfig'
|
||||
|
||||
Reference in New Issue
Block a user