forked from DGNum/liminix
add turris "schnapps" tool
in its current state this is useful for turris omnia only, but will allow us to do installs and rollback to turris os if needed.
This commit is contained in:
parent
64898eada8
commit
2a93f24a58
3 changed files with 53 additions and 0 deletions
19
modules/schnapps/default.nix
Normal file
19
modules/schnapps/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, lib, ... } :
|
||||
{
|
||||
config = {
|
||||
programs.busybox = {
|
||||
options = {
|
||||
# schnapps is a shell script that needs
|
||||
# [ command
|
||||
# find -maxdepth -mindepth
|
||||
# head -c
|
||||
# echo -n
|
||||
ASH_TEST = "y";
|
||||
FEATURE_FIND_MAXDEPTH = "y";
|
||||
FEATURE_FANCY_HEAD = "y";
|
||||
FEATURE_FANCY_ECHO = "y";
|
||||
};
|
||||
};
|
||||
defaultProfile.packages = [ pkgs.schnapps ] ;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue