All checks were successful
Test / Create distribution (push) Successful in 46s
Test / Sandbox (push) Successful in 2m40s
Test / Hakurei (push) Successful in 3m41s
Test / Hpkg (push) Successful in 4m42s
Test / Sandbox (race detector) (push) Successful in 4m53s
Test / Hakurei (race detector) (push) Successful in 5m53s
Test / ShareFS (push) Successful in 38m10s
Test / Flake checks (push) Successful in 1m46s
This is for passing files between applications, similar to android /sdcard. Signed-off-by: Ophestra <cat@gensokyo.uk>
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.hakurei = rec {
|
|
enable = true;
|
|
stateDir = "/var/lib/hakurei";
|
|
sharefs.source = "${stateDir}/sdcard";
|
|
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 = "/usr/bin/env";
|
|
args = [ "false" ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
extraHomeConfig.home.stateVersion = "23.05";
|
|
};
|
|
}
|