Find a file
2020-08-16 12:46:39 +02:00
default.nix just some rabbits 2020-08-16 12:37:31 +02:00
Dotgrid.main.js just some rabbits 2020-08-16 12:37:31 +02:00
Left.package.json just some rabbits 2020-08-16 12:37:31 +02:00
Left.yarn.lock just some rabbits 2020-08-16 12:37:31 +02:00
Marabu.package.json just some rabbits 2020-08-16 12:37:31 +02:00
Marabu.yarn.lock just some rabbits 2020-08-16 12:37:31 +02:00
Orca.yarn.lock just some rabbits 2020-08-16 12:37:31 +02:00
Pilot.package.json just some rabbits 2020-08-16 12:37:31 +02:00
Pilot.yarn.lock just some rabbits 2020-08-16 12:37:31 +02:00
README.md add README 2020-08-16 12:46:39 +02:00
Ronin.main.js just some rabbits 2020-08-16 12:37:31 +02:00

Hundred Rabbits on Nix

TODO Submit PR to nixpkgs

Example usage with configuration.nix

Clone the repo:

git clone https://github.com/egasimus/rabbits /etc/nixos/rabbits

Import into configuration.nix:

{ pkgs, ... }: let
  # ...
  rabbits = (pkgs.callPackage (import ./rabbits/default.nix) {});
  # ...
in {
  environment.systemPackages = [
    # ...
    rabbits.orca
    rabbits.pilot
    rabbits.marabu
    rabbits.left
    rabbits.ronin
    rabbits.dotgrid
    # ...
  ];
}

Rebuild:

sudo nixos-rebuild switch --fast

Launch:

orca-osc
pilot-osc
marabu
left
ronin
dotgrid

Update:

cd /etc/nixos/rabbits
git pull
sudo nixos-rebuild switch --fast

Usage with overlays/profiles/flakes/etc.

Left as an exercise to the reader.