chore: initial commit

This commit is contained in:
Glen Goodwin 2023-06-06 23:58:36 -04:00
commit cc4f3398ff
37 changed files with 2210 additions and 0 deletions

View file

@ -0,0 +1,4 @@
[
./docker.nix
./virtualbox.nix
]

View file

@ -0,0 +1,21 @@
{ config, pkgs, user, ... }:
{
virtualisation = {
docker.enable = true;
};
users.groups.docker.members = [ "${user}" ];
#environment = {
# interactiveShellInit = ''
# alias rtmp='docker start nginx-rtmp'
# ''; # Alias to easily start container
#};
environment.systemPackages = with pkgs; [
docker-compose
distrobox
];
}

View file

@ -0,0 +1,20 @@
{ config, pkgs, user, ... }:
{
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "${user}" ];
virtualisation.virtualbox.host.enableExtensionPack = true;
#environment = {
# interactiveShellInit = ''
# alias rtmp='docker start nginx-rtmp'
# ''; # Alias to easily start container
#};
environment.systemPackages = with pkgs; [
vagrant
];
}