switch to nixos-unstable-small, fixes for broken packages get merged faster here
This commit is contained in:
parent
9a6ab29faf
commit
7721a85ef2
7 changed files with 65 additions and 42 deletions
|
|
@ -66,6 +66,26 @@
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
user="alyx"
|
||||
'';
|
||||
onShutdown = "shutdown";
|
||||
|
||||
qemu = {
|
||||
ovmf.enable = true;
|
||||
package = pkgs.qemu_kvm;
|
||||
runAsRoot = true;
|
||||
verbatimConfig = ''
|
||||
namespaces = []
|
||||
'';
|
||||
};
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||
|
|
@ -127,17 +147,10 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/";
|
||||
boot.kernelParams = ["amdgpu.ppfeaturemask=0xffffffff" "amdgpu.seamless=1" "amdgpu.freesync_video=1" "initcall_blacklist=simpledrm_platform_driver_init" "pcie_acs_override=downstream,multifunction" "preempt=voluntary"];
|
||||
boot.extraModulePackages = [
|
||||
config.boot.kernelPackages.v4l2loopback.out
|
||||
config.boot.kernelPackages.hid-t150.out
|
||||
];
|
||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
|
||||
boot.kernel.sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
};
|
||||
|
||||
hardware.display.outputs."DP-4".mode = "2560x1080@75";
|
||||
|
||||
services.monado = {
|
||||
enable = true;
|
||||
|
|
@ -272,7 +285,7 @@
|
|||
users.users.alyx = {
|
||||
isNormalUser = true;
|
||||
description = "Alyx";
|
||||
extraGroups = [ "openrazer" "pipewire" "gamemode" "inputs" "networkmanager" "wheel" "libvirtd" "camera" "qemu-libvirtd" "lxd" ];
|
||||
extraGroups = [ "openrazer" "pipewire" "gamemode" "inputs" "networkmanager" "wheel" "libvirtd" "camera" "qemu-libvirtd" "lxd" "uinput" "qemu-libvirt" "input" ];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue