Compare commits

..

12 Commits

Author SHA1 Message Date
258fa7d80b
lol 2024-11-01 01:55:24 +01:00
d04d93c554
lol 2024-11-01 01:54:25 +01:00
df6ad68c16
lol 2024-11-01 01:53:47 +01:00
6122ce0a98
lol 2024-11-01 01:44:21 +01:00
c12748ee63
lol 2024-11-01 01:43:57 +01:00
5cd122a609
lol 2024-11-01 01:17:00 +01:00
2bfdf1e646
lol 2024-11-01 01:09:15 +01:00
83f45418c5
lol 2024-10-31 14:14:20 +01:00
3949d4e234
lol 2024-10-31 14:12:35 +01:00
99ce631fce
lol 2024-10-31 14:11:48 +01:00
179889e67a
lol 2024-10-31 14:01:33 +01:00
2cfa041b75
lol 2024-10-31 13:20:48 +01:00
6 changed files with 21 additions and 22 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,25 +20,24 @@
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 = true; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production; package = config.boot.kernelPackages.nvidiaPackages.beta;
}; };
pulseaudio.enable = false; pulseaudio.enable = true;
}; };
environment.sessionVariables = { LIBVA_DRIVER_NAME = "i965"; };
} }

View File

@ -40,6 +40,7 @@
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,7 +40,6 @@
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 = "nix flake update /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc"; 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";
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);