feat: move more stuff into system_profiles
This commit is contained in:
parent
7f48da24e9
commit
6c8f40ff8f
6 changed files with 7 additions and 8 deletions
6
system_profiles/components/qemu.nix
Normal file
6
system_profiles/components/qemu.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{modulesPath, ...}; {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
services.qemuGuest.enable = true;
|
||||
}
|
8
system_profiles/components/serial-console.nix
Normal file
8
system_profiles/components/serial-console.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
boot.kernelParams = [ "console=ttyS0,115200n8" ];
|
||||
boot.loader.grub.extraConfig = "
|
||||
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
|
||||
terminal_input serial
|
||||
terminal_output serial
|
||||
";
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./components/minify.nix
|
||||
./components/nix-defaults.nix
|
||||
./components/qemu.nix
|
||||
|
||||
./importers/general.nix
|
||||
./importers/server.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue