Compare commits

..

No commits in common. "258fa7d80be4cf7e282a44da9ae68e3a6a9f49d0" and "0bb3b6d88452d20d01879ce1afca8f69deb59792" have entirely different histories.

6 changed files with 22 additions and 21 deletions

View File

@ -9,9 +9,9 @@
};
};
# nixpkgs.config.packageOverrides = pkgs: {
# intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
#};
nixpkgs.config.packageOverrides = pkgs: {
intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
};
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true;
@ -20,24 +20,25 @@
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
# intel-media-driver
# intel-vaapi-driver
intel-media-driver
intel-vaapi-driver
libvdpau-va-gl
];
# extraPackages32 = with pkgs.pkgsi686Linux; [
# intel-media-driver
# intel-vaapi-driver
#];
extraPackages32 = with pkgs.pkgsi686Linux; [
intel-media-driver
intel-vaapi-driver
];
};
nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
open = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
pulseaudio.enable = true;
pulseaudio.enable = false;
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "i965"; };
}

View File

@ -40,7 +40,6 @@
vkd3d
vkd3d-proton
vk-bootstrap
lutris
sipcalc
xdg-utils
pass

View File

@ -107,12 +107,12 @@
};
};
};
# services.pipewire = {
# enable = true;
# alsa.enable = true;
# alsa.support32Bit = true;
# pulse.enable = true;
#};
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.pcscd.enable = true;
services.dbus.packages = [ pkgs.gcr ];
services.openssh = {

View File

@ -40,6 +40,7 @@
protonup-qt
protonup-ng
mpv
lutris
pamixer
pinentry
pulseaudio

View File

@ -18,7 +18,7 @@
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
# obs-pipewire-audio-capture
obs-pipewire-audio-capture
obs-vkcapture
obs-nvfbc

View File

@ -13,7 +13,7 @@
sudo rm /nix/var/nix/gcroots/auto/*
sudo nix-collect-garbage -d
'';
nrebuild = "git -C /home/mbeno/git/nixos add --all && git -C /home/mbeno/git/nixos commit -m'lol' && nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc";
nrebuild = "nix flake update /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc";
nlog = ''
revpath="/nix/var/nix/profiles";
lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);