Skip to content

mmxgn/strudel-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

strudel-flake

Nix flake for Strudel, a browser-based live coding environment for algorithmic music patterns, porting TidalCycles to JavaScript.

Try it online at https://strudel.cc

Run directly

nix run github:mmxgn/strudel-flake

Opens the Strudel REPL at http://localhost:3009 in your browser. Set PORT to use a different port:

PORT=8080 nix run github:mmxgn/strudel-flake

Install in your NixOS configuration

Add the flake as an input and include the package in your system or home config.

flake.nix

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    strudel.url = "github:mmxgn/strudel-flake";
  };

  outputs = { self, nixpkgs, strudel, ... } @ inputs:
  {
    nixosConfigurations."<yourhostname>" = nixpkgs.lib.nixosSystem {
      specialArgs = { inherit inputs; };
      modules = [
        ./configuration.nix
        {
          environment.systemPackages = [
            strudel.packages.x86_64-linux.default
          ];
        }
      ];
    };
  };
}

Or with Home Manager:

home.packages = [ inputs.strudel.packages.x86_64-linux.default ];

After installing, run with:

strudel

About

A simple flake for strudel mainly for my personal use

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages