diff --git a/configuration.nix b/configuration.nix index f37a46b..e58b708 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,6 +22,7 @@ "nouveau.modeset=0" "i915.i915_enable_rc6=1" "i915.i915_enable_fc=1"]; + boot.extraModprobeConfig = "options kvm_intel nested=1"; # ntworking.hostName = "nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -77,9 +78,15 @@ htop gnumake atop + lxc + vagrant + ncmpcpp + mpd ]; hardware.opengl.driSupport32Bit = true; + virtualisation.docker.enable = true; + virtualisation.libvirtd.enable = true; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; @@ -121,7 +128,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.k41 = { isNormalUser = true; - extraGroups = [ "wheel" "video"]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "video" "libvirt"]; # Enable ‘sudo’ for the user. shell = pkgs.zsh; }; @@ -144,7 +151,7 @@ system.stateVersion = "19.03"; # Did you read the comment? # Custom - nixpkgs.config.allowUnfree = true; + nixpkgs.config.allowUnfree = true; # environment.systemPackages = with pkgs; [ # emacs diff --git a/hardware-configuration.nix b/hardware-configuration.nix index b7caec5..3980d29 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -28,10 +28,10 @@ fsType = "vfat"; }; - fileSystems."/home/k41/mnt" = - { device = "/dev/disk/by-uuid/3fc73ae8-e740-4a70-afc2-6de7437047b8"; - fsType = "ext4"; - }; + # fileSystems."/home/k41/mnt" = + # { device = "/dev/disk/by-uuid/3fc73ae8-e740-4a70-afc2-6de7437047b8"; + # fsType = "ext4"; + # }; swapDevices = [ ];