fix nvidia and ozone env var
This commit is contained in:
parent
a21deba5f2
commit
efbf50f860
4 changed files with 57 additions and 26 deletions
|
@ -28,8 +28,10 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# apps
|
# apps
|
||||||
solaar # open source manager for logitech unifying receivers
|
solaar # open source manager for logitech unifying receivers
|
||||||
|
unstable.seabird
|
||||||
# unstable.vesktop # gpu issues. Using the flatpak version solves this issue.
|
# unstable.vesktop # gpu issues. Using the flatpak version solves this issue.
|
||||||
vlc
|
vlc
|
||||||
|
yt-dlp
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,10 +12,6 @@ in {
|
||||||
|
|
||||||
imports = [inputs.ags.homeManagerModules.default];
|
imports = [inputs.ags.homeManagerModules.default];
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.sessionVariables = {
|
|
||||||
# Wayland and Chromium/Electron apps.
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
|
||||||
# Downloads the Theme Resources
|
# Downloads the Theme Resources
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
andromeda-gtk-theme
|
andromeda-gtk-theme
|
||||||
|
|
|
@ -69,8 +69,29 @@ in {
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
nvidia.open = true;
|
nvidia = {
|
||||||
graphics.enable = true;
|
modesetting.enable = true;
|
||||||
|
nvidiaSettings = true;
|
||||||
|
open = false;
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||||
|
powerManagement = {
|
||||||
|
enable = false;
|
||||||
|
finegrained = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
vaapiVdpau
|
||||||
|
libvdpau
|
||||||
|
libvdpau-va-gl
|
||||||
|
nvidia-vaapi-driver
|
||||||
|
vdpauinfo
|
||||||
|
libva
|
||||||
|
libva-utils
|
||||||
|
];
|
||||||
|
};
|
||||||
# opengl.enable = true;
|
# opengl.enable = true;
|
||||||
nvidia-container-toolkit.enable = true;
|
nvidia-container-toolkit.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -100,16 +121,22 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# System packages
|
environment = {
|
||||||
environment.systemPackages = with pkgs; [
|
sessionVariables = {
|
||||||
# dev
|
# Wayland and Chromium/Electron apps.
|
||||||
uv
|
NIXOS_OZONE_WL = "1";
|
||||||
# fun
|
};
|
||||||
fastfetch
|
# System packages
|
||||||
# Scripts
|
systemPackages = with pkgs; [
|
||||||
pushoverNotify
|
# dev
|
||||||
refreshSeries
|
uv
|
||||||
];
|
# fun
|
||||||
|
fastfetch
|
||||||
|
# Scripts
|
||||||
|
pushoverNotify
|
||||||
|
refreshSeries
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# enable docker socket at /run/docker.sock
|
# enable docker socket at /run/docker.sock
|
||||||
virtualisation.podman.dockerSocket.enable = true;
|
virtualisation.podman.dockerSocket.enable = true;
|
||||||
|
|
|
@ -4,16 +4,22 @@
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# System packages
|
# System packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment = {
|
||||||
# myPkgs.modrinth-app-unwrapped
|
sessionVariables = {
|
||||||
dconf-editor
|
# Wayland and Chromium/Electron apps.
|
||||||
fastfetch
|
NIXOS_OZONE_WL = "1";
|
||||||
gtk3
|
};
|
||||||
nodejs_22
|
systemPackages = with pkgs; [
|
||||||
pavucontrol # Pulseaudio volume control
|
# myPkgs.modrinth-app-unwrapped
|
||||||
vesktop # Discord custom client
|
dconf-editor
|
||||||
zulu # Java OpenJDK
|
fastfetch
|
||||||
];
|
gtk3
|
||||||
|
nodejs_22
|
||||||
|
pavucontrol # Pulseaudio volume control
|
||||||
|
vesktop # Discord custom client
|
||||||
|
zulu # Java OpenJDK
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Tailscale
|
# Tailscale
|
||||||
|
|
Loading…
Add table
Reference in a new issue