Code Monkey home page Code Monkey logo

nix-flake's Introduction

Suyu nix flake

This is a flake to allow for the installation of suyu on systems using the Nix package manager.

Usage

Firstly, ensure git is installed system-wide, not just your user packages, since this is not hosted on github, gitlab, etc... It will not work with git installed in your user packages. If you are on NixOS, you must first add git to your system packages, rebuild and switch.

environment.systemPackages = with pkgs; [
    # the rest of your packages here
    git
    # more of your packages here
];

Any other Linux distro or MacOS install git via its package manager.

Then you can add the following in your flake inputs:

{
    inputs = {
        # the rest of your inputs here

        suyu.url = "git+https://git.suyu.dev/suyu/nix-flake";
        suyu.inputs.nixpkgs.follows = "nixpkgs"; # optional, saves space, recommended
        # suyu.inputs.systems.follows = "systems" # if you also have the systems flake installed,
        # if you do not know what that is, you can safely ignore

        # more of your inputs
    };
}

Afterwards, you can add it to your user or system or user packages by referring to suyu.packages.YOURPLATFORM.suyu or suyu.packages.YOURPLATFORM.default in your flake outputs.

Note: This will compile the package from scratch. It can take anywhere between 3-10 minutes depending on your system.


Currently supported platforms:

  • x86_64-linux
  • aarch64-linux (untested)
  • x86_64-darwin (suyu not ready for regular MacOS use)
  • aarch64-darwin

Feel free to submit a PR after you have tested it works on untested platforms or unsupported ones. I do not own any of the other devices and I cannot guarantee it will work on those.

nix-flake's People

Contributors

victorgamerlol avatar github-actions[bot] avatar

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.