diff --git a/nixos/modules/nixos/hardware/nvidia/default.nix b/nixos/modules/nixos/hardware/nvidia/default.nix index 1d98ac0..403ee0c 100644 --- a/nixos/modules/nixos/hardware/nvidia/default.nix +++ b/nixos/modules/nixos/hardware/nvidia/default.nix @@ -10,12 +10,13 @@ in # ref: https://nixos.wiki/wiki/Nvidia # Enable OpenGL - hardware.graphics = { + hardware.opengl = { enable = true; - enable32Bit = true; + driSupport = true; + driSupport32Bit = true; }; - hardware.graphics.extraPackages = with pkgs; [ + hardware.opengl.extraPackages = with pkgs; [ vaapiVdpau ]; diff --git a/nixos/overlays/default.nix b/nixos/overlays/default.nix index 9bfb253..caf0958 100644 --- a/nixos/overlays/default.nix +++ b/nixos/overlays/default.nix @@ -11,7 +11,7 @@ in nur = inputs.nur.overlay; warp-terminal = warpTerminalOverlay; termius = termiusOverlay; - # talosctl = talosctlOverlay; + talosctl = talosctlOverlay; # go = goOverlay; # The unstable nixpkgs set (declared in the flake inputs) will diff --git a/nixos/overlays/talosctl/update.sh b/nixos/overlays/talosctl/update.sh index f10db73..087e78c 100755 --- a/nixos/overlays/talosctl/update.sh +++ b/nixos/overlays/talosctl/update.sh @@ -11,6 +11,4 @@ if [[ "$currentVersion" == "$latestVersion" ]]; then exit 0 fi -update-source-version talosctl "$latestVersion" - -$(nix-build . -A talosctl --no-out-link) \ No newline at end of file +update-source-version talosctl "$latestVersion" \ No newline at end of file