update defaults
This commit is contained in:
@@ -9,6 +9,9 @@ in {
|
||||
|
||||
# Garbage collect automatically every week
|
||||
gc.automatic = true;
|
||||
gc.options = "--delete-older-than 30d";
|
||||
|
||||
optimise.automatic = true;
|
||||
};
|
||||
|
||||
# Configure nixpkgs
|
||||
|
||||
@@ -25,6 +25,13 @@ in {
|
||||
|
||||
apps.discover-wrapped.enable = true;
|
||||
|
||||
chaotic = {
|
||||
nyx.cache.enable = true;
|
||||
nyx.overlay.enable = true;
|
||||
mesa-git.enable = true;
|
||||
hdr.enable = false;
|
||||
};
|
||||
|
||||
# Configure bootloader with lanzaboot and secureboot
|
||||
boot = {
|
||||
loader = {
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
vulkan-hdr-layer = import ./vulkan-hdr-layer.nix {
|
||||
inherit (pkgs)
|
||||
lib stdenv fetchFromGitHub meson pkg-config vulkan-loader ninja writeText
|
||||
vulkan-headers vulkan-utility-libraries jq wayland;
|
||||
libX11 = pkgs.xorg.libX11;
|
||||
libXrandr = pkgs.xorg.libXrandr;
|
||||
libxcb = pkgs.xorg.libxcb;
|
||||
};
|
||||
in {
|
||||
{
|
||||
|
||||
home.username = "matt";
|
||||
home.homeDirectory = "/home/matt";
|
||||
@@ -47,8 +38,10 @@ in {
|
||||
etcher
|
||||
freerdp
|
||||
neofetch
|
||||
gamescope
|
||||
gamescope-wsi
|
||||
# gamescope # using chaotic git version
|
||||
# gamescope-wsi # using chaotic git version
|
||||
gamescope_git
|
||||
gamescope-wsi_git
|
||||
mangohud
|
||||
goverlay
|
||||
heroic
|
||||
@@ -57,7 +50,5 @@ in {
|
||||
orca-slicer
|
||||
nixfmt
|
||||
deadnix
|
||||
# Other packages
|
||||
vulkan-hdr-layer
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, vulkan-loader, ninja
|
||||
, writeText, vulkan-headers, vulkan-utility-libraries, jq, libX11, libXrandr
|
||||
, libxcb, wayland }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-hdr-layer";
|
||||
version = "63d2eec";
|
||||
|
||||
src = (fetchFromGitHub {
|
||||
owner = "Zamundaaa";
|
||||
repo = "VK_hdr_layer";
|
||||
rev = "869199cd2746e7f69cf19955153080842b6dacfc";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-xfVYI+Aajmnf3BTaY2Ysg5fyDO6SwDFGyU0L+F+E3is=";
|
||||
}).overrideAttrs (_: {
|
||||
GIT_CONFIG_COUNT = 1;
|
||||
GIT_CONFIG_KEY_0 = "url.https://github.com/.insteadOf";
|
||||
GIT_CONFIG_VALUE_0 = "git@github.com:";
|
||||
});
|
||||
|
||||
nativeBuildInputs = [ vulkan-headers meson ninja pkg-config jq ];
|
||||
|
||||
buildInputs = [
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
vulkan-utility-libraries
|
||||
libX11
|
||||
libXrandr
|
||||
libxcb
|
||||
wayland
|
||||
];
|
||||
|
||||
# Help vulkan-loader find the validation layers
|
||||
setupHook = writeText "setup-hook" ''
|
||||
addToSearchPath XDG_DATA_DIRS @out@/share
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Layers providing Vulkan HDR";
|
||||
homepage = "https://github.com/Zamundaaa/VK_hdr_layer";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user