summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/athena.nix17
-rw-r--r--host/hephaestus.nix2
-rw-r--r--host/majestix.nix5
3 files changed, 16 insertions, 8 deletions
diff --git a/host/athena.nix b/host/athena.nix
index 6ce2285..8f74c51 100644
--- a/host/athena.nix
+++ b/host/athena.nix
@@ -85,13 +85,16 @@
powerManagement.enable = true;
};
- environment.systemPackages = [ (pkgs.writeScriptBin "nvidia-offload" ''
- export __NV_PRIME_RENDER_OFFLOAD=1
- export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
- export __GLX_VENDOR_LIBRARY_NAME=nvidia
- export __VK_LAYER_NV_optimus=NVIDIA_only
- exec -a "$0" "$@"
- '') ];
+ environment.systemPackages = [
+ pkgs.zenith-nvidia
+ (pkgs.writeScriptBin "nvidia-offload" ''
+ export __NV_PRIME_RENDER_OFFLOAD=1
+ export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
+ export __GLX_VENDOR_LIBRARY_NAME=nvidia
+ export __VK_LAYER_NV_optimus=NVIDIA_only
+ exec -a "$0" "$@"
+ '')
+ ];
virtualisation.docker = {
enable = true;
diff --git a/host/hephaestus.nix b/host/hephaestus.nix
index a2886b7..6aca093 100644
--- a/host/hephaestus.nix
+++ b/host/hephaestus.nix
@@ -37,6 +37,8 @@
hardware.nvidia.package = pkgs.linuxPackages.nvidia_x11;
+ environment.systemPackages = [ pkgs.zenith-nvidia ];
+
hardware.bluetooth.enable = true;
services.blueman.enable = true;
diff --git a/host/majestix.nix b/host/majestix.nix
index f67d1b6..ce839b1 100644
--- a/host/majestix.nix
+++ b/host/majestix.nix
@@ -30,7 +30,10 @@
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
- environment.systemPackages = with pkgs; [ virt-manager ];
+ environment.systemPackages = with pkgs; [
+ zenith-nvidia
+ virt-manager
+ ];
users.extraUsers.common.extraGroups = [ "networkmanager" "libvirtd" ];