Some checks failed
Test / Create distribution (push) Successful in 43s
Test / Sandbox (push) Successful in 2m15s
Test / Hpkg (push) Successful in 4m14s
Test / Sandbox (race detector) (push) Successful in 4m19s
Test / Hakurei (race detector) (push) Successful in 4m56s
Test / Hakurei (push) Successful in 2m6s
Test / Flake checks (push) Failing after 1m26s
This is useful for quickly spinning up an ephemeral hakurei environment for testing changes or reproducing vm test failures. Signed-off-by: Ophestra <cat@gensokyo.uk>
26 lines
522 B
Nix
26 lines
522 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.hakurei = {
|
|
enable = true;
|
|
stateDir = "/var/lib/hakurei";
|
|
users.alice = 0;
|
|
apps = {
|
|
"cat.gensokyo.extern.foot.noEnablements" = {
|
|
name = "ne-foot";
|
|
identity = 1;
|
|
shareUid = true;
|
|
verbose = true;
|
|
share = pkgs.foot;
|
|
packages = [ pkgs.foot ];
|
|
command = "foot";
|
|
capability = {
|
|
dbus = false;
|
|
pulse = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
extraHomeConfig.home.stateVersion = "23.05";
|
|
};
|
|
}
|