perf: change offload to nvidia-offload
This commit is contained in:
parent
3ddbca3f7c
commit
67826a3658
17 changed files with 163 additions and 254 deletions
|
|
@ -20,16 +20,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/storage" = {
|
||||
device = "router.dn:/mnt/storage";
|
||||
fsType = "nfs";
|
||||
options = [
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
"x-systemd.idle-timeout=600"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/windows" = {
|
||||
device = "/dev/disk/by-uuid/460237D00237C429";
|
||||
fsType = "ntfs-3g";
|
||||
|
|
|
|||
|
|
@ -38,13 +38,11 @@ in
|
|||
})
|
||||
../../modules/gaming.nix
|
||||
../../modules/wireguard.nix
|
||||
../../modules/dn-ca.nix
|
||||
(import ../../modules/wallpaper-engine.nix {
|
||||
offload = nvidia-offload-enabled;
|
||||
})
|
||||
../../modules/wine.nix
|
||||
../../modules/secure-boot.nix
|
||||
../../modules/kubernetes.nix
|
||||
];
|
||||
|
||||
# Overrides
|
||||
|
|
@ -54,24 +52,7 @@ in
|
|||
services.wallpaperEngine.enable = lib.mkForce false;
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.lunar-client
|
||||
(pkgs.ferium.overrideAttrs (
|
||||
final: prev: rec {
|
||||
cargoHash = "sha256-yedl4KQCpT7Ai1EPvwD5kzhkHesIjGVAcxKjp5k2jmI=";
|
||||
version = "4.7.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "gorilla-devs";
|
||||
repo = prev.pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jj3BdaxH7ofhHNF2eu+burn6+/0bPQQZ8JfjXAFyN4A=";
|
||||
};
|
||||
|
||||
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
|
||||
inherit (final) pname src version;
|
||||
hash = final.cargoHash;
|
||||
};
|
||||
}
|
||||
))
|
||||
pkgs.prismlauncher
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue