diff options
Diffstat (limited to 'makefu/2configs/virtualisation')
-rw-r--r-- | makefu/2configs/virtualisation/docker.nix | 9 | ||||
-rw-r--r-- | makefu/2configs/virtualisation/libvirt.nix | 9 | ||||
-rw-r--r-- | makefu/2configs/virtualisation/virtualbox.nix | 8 |
3 files changed, 0 insertions, 26 deletions
diff --git a/makefu/2configs/virtualisation/docker.nix b/makefu/2configs/virtualisation/docker.nix deleted file mode 100644 index 1c204db85..000000000 --- a/makefu/2configs/virtualisation/docker.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, config, ... }: -{ - virtualisation.docker.enable = true; - environment.systemPackages = with pkgs;[ - docker - docker-compose - ]; - users.users.${config.krebs.build.user.name}.extraGroups = [ "docker" ]; -} diff --git a/makefu/2configs/virtualisation/libvirt.nix b/makefu/2configs/virtualisation/libvirt.nix deleted file mode 100644 index b90467ab8..000000000 --- a/makefu/2configs/virtualisation/libvirt.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - mainUser = config.krebs.build.user; -in { - virtualisation.libvirtd.enable = true; - users.extraUsers.${mainUser.name}.extraGroups = [ "libvirtd" ]; - networking.firewall.checkReversePath = false; # TODO: unsolved issue in nixpkgs:#9067 [bug] -} diff --git a/makefu/2configs/virtualisation/virtualbox.nix b/makefu/2configs/virtualisation/virtualbox.nix deleted file mode 100644 index a8a50939f..000000000 --- a/makefu/2configs/virtualisation/virtualbox.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - virtualisation.virtualbox.host.enable = true; - virtualisation.virtualbox.host.enableExtensionPack = true; - # virtualisation.virtualbox.host.enableHardening = false; - users.extraGroups.vboxusers.members = [ config.krebs.build.user.name ]; -} |