project: apply formatting

This commit is contained in:
Nojus 2025-07-18 01:29:03 +02:00
parent 641212e569
commit de8696f83f
3 changed files with 31 additions and 22 deletions

View file

@ -1,14 +1,15 @@
{ lib
, fetchFromGitHub
, cmake
, ninja
, vulkan-headers
, vulkan-loader
, llvmPackages
, spirv-headers
}: let
{
lib,
fetchFromGitHub,
cmake,
ninja,
vulkan-headers,
vulkan-loader,
llvmPackages,
spirv-headers,
}:
in llvmPackages.stdenv.mkDerivation {
llvmPackages.stdenv.mkDerivation {
pname = "lsfg-vk";
version = "unstable-2025-07-14-83b869b";
@ -40,6 +41,7 @@ in llvmPackages.stdenv.mkDerivation {
];
meta = with lib; {
description = "Vulkan layer for frame generation (Requires Lossless Scaling install)";
homepage = "https://github.com/PancakeTAS/lsfg-vk/";
license = licenses.mit;
platforms = platforms.linux;

View file

@ -1,10 +1,12 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }: let
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
in
{
packages.${system}.default = pkgs.callPackage ./default.nix { };
nixosModules.default = import ./module.nix;
};

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.lsfg-vk;
lsfg-vk = pkgs.callPackage ./default.nix { };