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: {
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,25 +20,24 @@
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 = true;
open = false;
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-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,7 +40,6 @@
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 = "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 = ''
revpath="/nix/var/nix/profiles";
lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);