mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
cleaned up gerg-desktop
This commit is contained in:
parent
6630c94f12
commit
7326e9213e
2 changed files with 1 additions and 15 deletions
|
|
@ -1,7 +1,6 @@
|
|||
inputs: {
|
||||
pkgs,
|
||||
settings,
|
||||
self,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -35,7 +34,7 @@ inputs: {
|
|||
nvidiaPersistenced = false;
|
||||
nvidiaSettings = false;
|
||||
modesetting.enable = true;
|
||||
open = true;
|
||||
open = false;
|
||||
};
|
||||
services.xserver = {
|
||||
videoDrivers = ["nvidia" "amdgpu"];
|
||||
|
|
@ -66,16 +65,8 @@ inputs: {
|
|||
wrapProgram "$out/bin/webcord" --run 'rm -f $HOME/.config/WebCord/windowState.json'
|
||||
'';
|
||||
})
|
||||
(pkgs.writeShellScriptBin "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 "$@"
|
||||
'')
|
||||
];
|
||||
|
||||
environment.etc."xdg/alacritty/alacritty.yml".source = "${self}/misc/alacritty.yml";
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
hostName = "gerg-desktop";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue