Nix flake for installing Stoa on NixOS.
Add stoa-nix to your flake.nix inputs:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
stoa.url = "github:bobrware/stoa-nix";
stoa.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { nixpkgs, ... }@inputs: {
nixosConfigurations.yourhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ pkgs, ... }: {
environment.systemPackages = [
inputs.stoa.packages.x86_64-linux.stoa
];
})
];
};
};
}If you use Home Manager as a flake module:
{ pkgs, inputs, ... }: {
home.packages = [
inputs.stoa.packages.x86_64-linux.stoa
];
}nix run github:bobrware/stoa-nixThe flake automatically tracks new Stoa releases via a GitHub Actions workflow that updates the AppImage hash on each release.
To manually update your lock file:
nix flake update stoa-nix