Commit def0c756ac19
Changed files (2)
configuration
profiles
configuration/users.nix
@@ -7,7 +7,7 @@
isNormalUser = true;
uid = 1000;
createHome = true;
- extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "libvirtd" "input" "audio" "video" "scanner" ];
+ extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "input" "audio" "video" "scanner" ];
shell = "/run/current-system/sw/bin/zsh";
initialPassword = "changeMe";
openssh.authorizedKeys.keys =
profiles/virtualization.nix
@@ -1,14 +1,11 @@
# Virtualization configuration
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
{
virtualisation = {
virtualbox.host.enable = true;
- libvirtd = {
- enable = true;
- enableKVM = true;
- };
};
+ boot.kernelModules = lib.mkBefore [ "kvm-intel" ];
networking.firewall.trustedInterfaces = [ "vboxnet0" ];
environment = {
systemPackages = with pkgs; [