profiles/vmapp-demo: init MVE
...moving bits and pieces from .dotfiles
This commit is contained in:
parent
b2b9628ed6
commit
a25e51e7da
4 changed files with 336 additions and 5 deletions
|
@ -13,6 +13,9 @@
|
|||
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
vmapps.enable = true;
|
||||
_module.args.inputs = import ../npins;
|
||||
|
||||
# following microvm.nix:
|
||||
boot.loader.grub.enable = false;
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
@ -22,9 +25,8 @@
|
|||
options = [ "size=20%,mode=0755" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
boot.initrd.systemd.emergencyAccess = true;
|
||||
boot.initrd.systemd.settings.Manager.DefaultTimeoutStartSec = 15;
|
||||
systemd.settings.Manager.DefaultTimeoutStartSec = 15;
|
||||
boot.initrd.systemd.settings.Manager.DefaultTimeoutStartSec = 30;
|
||||
systemd.settings.Manager.DefaultTimeoutStopSec= 10;
|
||||
networking.useNetworkd = true;
|
||||
networking.nftables.enable = true;
|
||||
|
||||
|
@ -32,7 +34,12 @@
|
|||
|
||||
users.mutableUsers = false;
|
||||
users.users.root.password = "hacktheplanet!";
|
||||
services.getty.autologinUser = "root";
|
||||
|
||||
systemd.services."suid-sgid-wrappers".serviceConfig = {
|
||||
StandardOutput = "journal+console";
|
||||
StandardError = "journal+console";
|
||||
};
|
||||
|
||||
# TODO: cmdline, kernel, initrd, fileSystems
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue