materusPC: formatting, some changes

This commit is contained in:
Mateusz Słodkowicz 2023-05-30 17:27:46 +02:00
parent 4e10e6b4d6
commit 2c86837e6c
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 188 additions and 180 deletions

View File

@ -60,7 +60,7 @@ in
services.xserver.desktopManager.plasma5.useQtScaling = true; services.xserver.desktopManager.plasma5.useQtScaling = true;
services.xserver.desktopManager.plasma5.runUsingSystemd = true; services.xserver.desktopManager.plasma5.runUsingSystemd = true;
environment.plasma5.excludePackages = with pkgs; [libsForQt5.kwallet libsForQt5.kwalletmanager libsForQt5.kwallet-pam]; environment.plasma5.excludePackages = with pkgs; [ libsForQt5.kwallet libsForQt5.kwalletmanager libsForQt5.kwallet-pam ];
services.xserver.config = pkgs.lib.mkAfter '' services.xserver.config = pkgs.lib.mkAfter ''
Section "OutputClass" Section "OutputClass"
@ -153,9 +153,9 @@ in
}; };
environment.variables = { environment.variables = {
KWIN_DRM_NO_AMS = "1"; KWIN_DRM_NO_AMS = "1";
DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1="1"; DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1 = "1";
VK_ICD_FILENAMES="/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json:/run/opengl-driver-32/share/vulkan/icd.d/radeon_icd.i686.json"; VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json:/run/opengl-driver-32/share/vulkan/icd.d/radeon_icd.i686.json";
AMD_VULKAN_ICD="RADV"; AMD_VULKAN_ICD = "RADV";
RADV_PERFTEST = "gpl,rt,sam"; RADV_PERFTEST = "gpl,rt,sam";
}; };
environment.sessionVariables = rec { environment.sessionVariables = rec {
@ -220,12 +220,20 @@ in
}; };
/*containers.test = {
config = { config, pkgs, ... }: { environment.systemPackages = with pkgs; [ wayfire ]; };
autoStart = false;
};*/
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox
gamescope gamescope
(pkgs.lutris.override { extraLibraries = pkgs: with pkgs; [ pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango ]; }) (pkgs.lutris.override { extraLibraries = pkgs: with pkgs; [ pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango ]; })
materusPkgs.amdgpu-pro-libs.prefixes materusPkgs.amdgpu-pro-libs.prefixes
(pkgs.bottles.override {extraLibraries = pkgs: with pkgs; [pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango]; }) (pkgs.bottles.override { extraLibraries = pkgs: with pkgs; [ pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango ]; })
glibc glibc
glib glib
gtk3 gtk3
@ -340,7 +348,7 @@ in
]; ];
/* /*
system.activationScripts.libvirt-hooks.text = system.activationScripts.libvirt-hooks.text =
'' ''
ln -Tfs /etc/libvirt/hooks /var/lib/libvirt/hooks ln -Tfs /etc/libvirt/hooks /var/lib/libvirt/hooks