Giter Club home page Giter Club logo

kwin-lowlatency-overlay's Introduction

NixOS overlay for kwin-lowlatency

This repository has been archived, as Plasma 5.21 has been merged to Nixpkgs master and there is (at the time of writing) no kwin-lowlatency 5.21 yet. Also, the latency improvements to KWin in 5.21 are good enough that I personally do not have much of a reason to use kwin-lowlatency anymore.

I think I am the only person who is using this overlay, but if you are using it and this is a problem for you, please let me know.

This is an overlay for NixOS that replaces the kwin package with @tildearrow's kwin-lowlatency.

Using the overlay

At the moment, only the nixos-unstable and nixos-unstable-small channels are supported.

Add the following to your configuration.nix:

{ config, pkgs, ... }:

{
  nixpkgs.overlays = [
    (import (builtins.fetchTarball {
      url = "https://github.com/InternetUnexplorer/kwin-lowlatency-overlay/archive/nixos-unstable.tar.gz";
    }))
  ];
}

Using the binary cache

You will probably want to use the binary cache. Follow the instructions here to set it up.

How the binary cache works

I've set up a GCE instance that checks the status of the nixos-unstable and nixos-unstable-small channels roughly every two minutes. If any of the channels have been updated then it triggers the build workflow which builds the package and pushes it to the binary cache.

The script used to watch the channels is available here and the timer/service units and dispatch script are available here.

Because the build runs after the channel has updated, there is a small chance that the package won't be built yet when you update your system. In that case, you can either let it be built locally or wait 20 minutes or so until it's ready, I guess. Feel free to sword-fight on office chairs with your friend, go outside, or whatever you normally do when something is compiling.

Feedback

If the overlay or the binary cache stops working, or if you have suggestions for how to improve them, or anything else really, please open an issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.