All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m44s
Test / Sandbox (race detector) (push) Successful in 4m40s
Test / Hakurei (push) Successful in 4m53s
Test / Hpkg (push) Successful in 5m5s
Test / Hakurei (race detector) (push) Successful in 6m26s
Test / Flake checks (push) Successful in 1m27s
There is no reason to keep the shell process around. Signed-off-by: Ophestra <cat@gensokyo.uk>
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
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";
|
|
enablements = {
|
|
dbus = false;
|
|
pipewire = false;
|
|
};
|
|
};
|
|
|
|
"cat.gensokyo.extern.foot.badDaemon" = {
|
|
name = "bd-foot";
|
|
identity = 1;
|
|
shareUid = true;
|
|
verbose = true;
|
|
share = pkgs.foot;
|
|
packages = [ pkgs.foot ];
|
|
command = "foot";
|
|
enablements = {
|
|
dbus = false;
|
|
};
|
|
extraPaths = [
|
|
{
|
|
type = "daemon";
|
|
dst = "/proc/nonexistent";
|
|
path = "/bin/sh";
|
|
args = [
|
|
"-lc"
|
|
"sleep 1 && exec false"
|
|
];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
extraHomeConfig.home.stateVersion = "23.05";
|
|
};
|
|
}
|