push
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{ desktop = false; }
|
{ desktop = true; }
|
||||||
11
main.nix
11
main.nix
@@ -53,7 +53,7 @@ in
|
|||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
nvidia = if (desktop) then {
|
nvidia = if desktop then {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
||||||
powerManagement.enable = false;
|
powerManagement.enable = false;
|
||||||
@@ -290,7 +290,7 @@ in
|
|||||||
|
|
||||||
rec {
|
rec {
|
||||||
appId = "com.hytale.Launcher";
|
appId = "com.hytale.Launcher";
|
||||||
sha256 = "sha256-iBYZTbm82X+CbF9v/7pwOxxxfK/bwlBValCAVC5xgV8=";
|
sha256 = "sha256-SUxfyovC2umZmsOj5bOTZ8WfGCpnWcz7svOESwNekV0=";
|
||||||
bundle = "${pkgs.fetchurl {
|
bundle = "${pkgs.fetchurl {
|
||||||
url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak";
|
url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
@@ -385,7 +385,7 @@ in
|
|||||||
scanmem
|
scanmem
|
||||||
samrewritten
|
samrewritten
|
||||||
impression
|
impression
|
||||||
bambu-studio
|
|
||||||
# resources
|
# resources
|
||||||
mission-center
|
mission-center
|
||||||
|
|
||||||
@@ -505,19 +505,20 @@ in
|
|||||||
extraPkgs = pkgs: [ pkgs.xorg.libxshmfence pkgs.linuxPackages.nvidia_x11 ];
|
extraPkgs = pkgs: [ pkgs.xorg.libxshmfence pkgs.linuxPackages.nvidia_x11 ];
|
||||||
})
|
})
|
||||||
] else [
|
] else [
|
||||||
|
bambu-studio
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|
||||||
cudaSupport = desktop;
|
cudaSupport = desktop;
|
||||||
nvidia.acceptLicense = desktop;
|
nvidia.acceptLicense = desktop;
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user