26 lines
442 B
Nix
26 lines
442 B
Nix
|
{ pkgs, ... }:
|
||
|
let
|
||
|
inherit (pkgs.pseudofile) dir symlink;
|
||
|
in
|
||
|
{
|
||
|
config = {
|
||
|
boot.commandLine = [
|
||
|
"systemd.log_level=7"
|
||
|
#"systemd.crash_shell=true"
|
||
|
];
|
||
|
filesystem = dir {
|
||
|
etc = dir {
|
||
|
systemd = dir {
|
||
|
"system.conf" = {
|
||
|
file = '''';
|
||
|
mode = "0444";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
bin = dir {
|
||
|
init = symlink "${pkgs.systemd}/bin/init";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|