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: { nixpkgs.config.packageOverrides = pkgs: {
# intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; }; intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
#}; };
hardware = { hardware = {
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
@ -20,24 +20,25 @@
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# intel-media-driver intel-media-driver
# intel-vaapi-driver intel-vaapi-driver
libvdpau-va-gl libvdpau-va-gl
]; ];
# extraPackages32 = with pkgs.pkgsi686Linux; [ extraPackages32 = with pkgs.pkgsi686Linux; [
# intel-media-driver intel-media-driver
# intel-vaapi-driver intel-vaapi-driver
#]; ];
}; };
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = false; powerManagement.enable = false;
powerManagement.finegrained = false; powerManagement.finegrained = false;
open = false; open = true;
nvidiaSettings = 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
vkd3d-proton vkd3d-proton
vk-bootstrap vk-bootstrap
lutris
sipcalc sipcalc
xdg-utils xdg-utils
pass pass

View File

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

View File

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

View File

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

View File

@ -13,7 +13,7 @@
sudo rm /nix/var/nix/gcroots/auto/* sudo rm /nix/var/nix/gcroots/auto/*
sudo nix-collect-garbage -d 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 = '' nlog = ''
revpath="/nix/var/nix/profiles"; revpath="/nix/var/nix/profiles";
lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1); lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);