add ycontre glow plymouth theme (theme images not pushed to repo), add gpu passthrough capabilities
This commit is contained in:
@ -6,16 +6,26 @@
|
||||
modules/nvidia.nix
|
||||
modules/vboxHost.nix
|
||||
];
|
||||
|
||||
boot.kernelParams = [ "amd_iommu=on" "iommu=pt" "kvm_amd.npt=1" "kvm_amd.avic=1"];
|
||||
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||
# boot.extraModulePackages = with config.boot.kernelPackages; [ kvmfr ];
|
||||
boot.kernelModules = [ "vfio" "vfio-pci"];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /dev/shm/looking-glass 0660 tom libvirtd -"
|
||||
];
|
||||
virtualisation.libvirtd.qemu.vhostUserPackages = with pkgs; [ virtiofsd ];
|
||||
|
||||
networking.hostName = "patate-douce";
|
||||
networking.wireless.enable = true;
|
||||
networking.networkmanager.enable = false;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 11470 12470 80 443 5000 ];
|
||||
networking.firewall.allowedUDPPorts = [ 11470 12470 80 443 5000 ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
acpi
|
||||
tlp
|
||||
looking-glass-client
|
||||
fprintd
|
||||
];
|
||||
|
||||
hardware.nvidia.prime.offload = {
|
||||
@ -28,4 +38,12 @@
|
||||
services.libinput.touchpad.tapping = false;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
theme = "ycontre-glow";
|
||||
themePackages = [
|
||||
inputs.plymouth-theme-ycontre-glow.defaultPackage.x86_64-linux
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -3,4 +3,8 @@
|
||||
{
|
||||
programs.steam.enable=true;
|
||||
programs.steam.protontricks.enable=true;
|
||||
|
||||
environment.systemPackages = with pkgs; [ qemu quickemu];
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user