liminix/modules/systemd/default.nix
2024-10-04 15:57:57 +02:00

25 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";
};
};
};
}