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
+1
View File
@@ -5,6 +5,7 @@
./boot.nix
./hardware-configuration.nix
./podman.nix
./virt.nix
];
networking.hostName = "jude";
greg.gnome.enable= true;
+25
View File
@@ -0,0 +1,25 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
ansible
libguestfs
packer
virt-manager
vagrant
];
# Give my user access to the libvirtd process
users.users.greg.extraGroups = [ "libvirtd" ];
virtualisation.libvirtd = {
enable = true;
onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart
};
virtualisation.waydroid = {
enable = true;
};
boot.extraModprobeConfig = "options kvm_amd nested=1";
}