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:
Greg Hellings
2022-05-04 13:57:19 -05:00
parent 2d333a9128
commit f18d1f357c
13 changed files with 97 additions and 9 deletions
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
nix-direnv.enableFlakes = true;
};
home.packages = [
pkgs.xonsh-direnv
];
}
+1
View File
@@ -8,6 +8,7 @@ in {
imports = [
./modules
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./vim.nix
+5
View File
@@ -35,6 +35,11 @@
"src.fedoraproject.org pkgs.fedoraproject.org" = {
user = "greghellings";
};
"127.*".extraOptions = {
PubkeyAcceptedAlgorithms = "+ssh-rsa";
HostkeyAlgorithms = "+ssh-rsa";
};
};
};
+3
View File
@@ -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
];
+2
View File
@@ -49,6 +49,8 @@ in {
# $? == _.rtn
import os
xontrib load direnv
'';
#$PKG_CONFIG_PATH = '/usr/local/lib/pkgconfig'