This commit is contained in:
Martin Benonisen 2024-05-01 18:29:17 +02:00
parent db969dec51
commit 760b0c6163
Signed by: mbeno
SSH Key Fingerprint: SHA256:iAzOA1WUAxocdh/WRWXcSg5nw2dJ1aDCvPuT+3ZjkwI
5 changed files with 24 additions and 2 deletions

View File

@ -31,6 +31,7 @@
XDG_STATE_HOME = "$HOME/.local/state";
XDG_BIN_HOME = "$HOME/.local/bin";
PATH = [ "${XDG_BIN_HOME}" ];
};
fileSystems."/data" = {
device = "/dev/data/data";
@ -62,6 +63,7 @@
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
virtualisation.docker.enable = true;
virtualisation.docker.liveRestore = false;
system.stateVersion = "23.11"; # Did you read the comment?
}

View File

@ -1,10 +1,21 @@
{ config, pkgs, ... }:
{
nixpkgs.config.packageOverrides = pkgs: {
intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
};
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true;
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
libvdpau-va-gl
];
};
ckb-next.enable = true;
nvidia = {
@ -13,8 +24,9 @@
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
pulseaudio.enable = false;
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
}

View File

@ -41,6 +41,7 @@
xdg-utils
pass
xdg-desktop-portal
pkg-config
xdg-desktop-portal-gtk
zoom-us
neovim

View File

@ -30,7 +30,6 @@
i3blocks #if you are planning on using i3blocks over i3status
polybar
rofi
picom
nitrogen
];
};

View File

@ -3,7 +3,11 @@
# Generic tools
age
discord
libpng
lshw
vlc
expat
xdeltaUnstable
transmission-gtk
alacritty
btop
@ -21,7 +25,11 @@
ncdu
nwg-look
mumble
pavucontrol
jellyfin-media-player
unrar
mpv
lutris
pamixer
pinentry
pre-commit