This commit is contained in:
2019-07-06 11:48:39 +02:00
parent 80726f425d
commit 6416c18fb9
2 changed files with 13 additions and 6 deletions

View File

@@ -22,6 +22,7 @@
"nouveau.modeset=0" "nouveau.modeset=0"
"i915.i915_enable_rc6=1" "i915.i915_enable_rc6=1"
"i915.i915_enable_fc=1"]; "i915.i915_enable_fc=1"];
boot.extraModprobeConfig = "options kvm_intel nested=1";
# ntworking.hostName = "nixos"; # Define your hostname. # ntworking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -77,9 +78,15 @@
htop htop
gnumake gnumake
atop atop
lxc
vagrant
ncmpcpp
mpd
]; ];
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
virtualisation.docker.enable = true;
virtualisation.libvirtd.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
@@ -121,7 +128,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.k41 = { users.users.k41 = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "video"]; # Enable sudo for the user. extraGroups = [ "wheel" "video" "libvirt"]; # Enable sudo for the user.
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
@@ -144,7 +151,7 @@
system.stateVersion = "19.03"; # Did you read the comment? system.stateVersion = "19.03"; # Did you read the comment?
# Custom # Custom
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# environment.systemPackages = with pkgs; [ # environment.systemPackages = with pkgs; [
# emacs # emacs

View File

@@ -28,10 +28,10 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/home/k41/mnt" = # fileSystems."/home/k41/mnt" =
{ device = "/dev/disk/by-uuid/3fc73ae8-e740-4a70-afc2-6de7437047b8"; # { device = "/dev/disk/by-uuid/3fc73ae8-e740-4a70-afc2-6de7437047b8";
fsType = "ext4"; # fsType = "ext4";
}; # };
swapDevices = [ ]; swapDevices = [ ];