Configure vmVariant for more cores and memory
When testing the config in a vm, have more ressources available. Otherwise oom errors can occur.
This commit is contained in:
parent
0c605d9684
commit
f46b9ab129
1 changed files with 6 additions and 0 deletions
|
|
@ -105,6 +105,12 @@
|
|||
home-manager.extraSpecialArgs = inputs // specialArgs;
|
||||
home-manager.users.${username} = import ./users/${username}/home.nix;
|
||||
}
|
||||
{
|
||||
virtualisation.vmVariant.virtualisation = {
|
||||
memorySize = 8192;
|
||||
cores = 3;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue