forked from DGNum/liminix
add passwd and group in environment.etc
This commit is contained in:
parent
a427b9da5e
commit
4c89e9aee6
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,6 @@ let
|
|||
/bin/init s 0755 0 0 ${s6-init-bin}/bin/init
|
||||
/bin/sh s 0755 0 0 ${busybox}/bin/sh
|
||||
/bin/busybox s 0755 0 0 ${busybox}/bin/busybox
|
||||
/etc/passwd f 0644 0 0 echo "root::0:0:root:/:/bin/sh"
|
||||
'';
|
||||
|
||||
config-pseudofiles = pseudofile.write "config.etc"
|
||||
|
|
|
@ -37,7 +37,8 @@ in {
|
|||
PATH=${lib.makeBinPath (with pkgs; [ s6-init-bin busybox execline s6-linux-init s6-rc])}
|
||||
export PATH
|
||||
'');
|
||||
|
||||
passwd = { file = "root::0:0:root:/:/bin/sh\n"; };
|
||||
group = { file = "root::0:\n"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue