This commit is contained in:
jopejoe1 2025-04-01 11:37:01 +02:00
parent abcfceae15
commit 9e9331186d
4 changed files with 16 additions and 10 deletions

View file

@ -15,6 +15,8 @@
self.inputs.srvos.nixosModules.desktop
];
boot.loader.grub.devices = [ "/dev/sda" ];
#facter.reportPath = ./facter.json;
jopejoe1 = {

View file

@ -17,6 +17,19 @@
facter.reportPath = ./facter.json;
virtualisation.xen = {
enable = false;
efi.bootBuilderVerbosity = "info"; # Adds a handy report that lets you know which Xen boot entries were created.
bootParams = [
"vga=ask" # Useful for non-headless systems with screens bigger than 640x480.
"dom0=pvh" # Uses the PVH virtualisation mode for the Domain 0, instead of PV.
];
dom0Resources = {
memory = 32768; # Only allocates 1GiB of memory to the Domain 0, with the rest of the system memory being freely available to other domains.
maxVCPUs = 8; # Allows the Domain 0 to use, at most, two CPU cores.
};
};
programs.nix-ld = {
enable = true;
libraries = with pkgs; [