From 1cf89355444c73531d3d1f629385fe476e73491d Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Mon, 19 Jan 2026 23:35:20 -0600 Subject: [PATCH] push --- etc/nixos/device.nix | 2 +- main.nix | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/etc/nixos/device.nix b/etc/nixos/device.nix index 20d75e6..80e3d80 100644 --- a/etc/nixos/device.nix +++ b/etc/nixos/device.nix @@ -1 +1 @@ -{ desktop = false; } \ No newline at end of file +{ desktop = true; } \ No newline at end of file diff --git a/main.nix b/main.nix index 1cb537d..fee929a 100644 --- a/main.nix +++ b/main.nix @@ -53,7 +53,7 @@ in ]); }; - nvidia = if (desktop) then { + nvidia = if desktop then { modesetting.enable = true; powerManagement.enable = false; @@ -290,7 +290,7 @@ in rec { appId = "com.hytale.Launcher"; - sha256 = "sha256-iBYZTbm82X+CbF9v/7pwOxxxfK/bwlBValCAVC5xgV8="; + sha256 = "sha256-SUxfyovC2umZmsOj5bOTZ8WfGCpnWcz7svOESwNekV0="; bundle = "${pkgs.fetchurl { url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak"; inherit sha256; @@ -385,7 +385,7 @@ in scanmem samrewritten impression - bambu-studio + # resources mission-center @@ -505,19 +505,20 @@ in extraPkgs = pkgs: [ pkgs.xorg.libxshmfence pkgs.linuxPackages.nvidia_x11 ]; }) ] else [ - + bambu-studio ]); }; nixpkgs = { config = { allowUnfree = true; + cudaSupport = desktop; nvidia.acceptLicense = desktop; }; overlays = [ - + ]; };