mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium: -virtualbox
This commit is contained in:
parent
cf5bdbd43e
commit
57887995c8
1 changed files with 11 additions and 12 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
|
@ -12,17 +11,17 @@
|
|||
users.users."leana".extraGroups = ["docker"];
|
||||
}
|
||||
|
||||
#
|
||||
# VirtualBox
|
||||
#
|
||||
{
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
# https://discourse.nixos.org/t/issue-with-virtualbox-in-24-11/57607/2
|
||||
boot.kernelParams =
|
||||
lib.mkIf (config.boot.kernelPackages.kernel.kernelAtLeast "6.12")
|
||||
(builtins.trace "Note: a KVM kernel flag is added for virtualbox, remember to check if this is patched in upstream" ["kvm.enable_virt_at_load=0"]);
|
||||
users.users."leana".extraGroups = ["vboxusers"];
|
||||
}
|
||||
# #
|
||||
# # VirtualBox
|
||||
# #
|
||||
# {
|
||||
# virtualisation.virtualbox.host.enable = true;
|
||||
# # https://discourse.nixos.org/t/issue-with-virtualbox-in-24-11/57607/2
|
||||
# boot.kernelParams =
|
||||
# lib.mkIf (config.boot.kernelPackages.kernel.kernelAtLeast "6.12")
|
||||
# (builtins.trace "Note: a KVM kernel flag is added for virtualbox, remember to check if this is patched in upstream" ["kvm.enable_virt_at_load=0"]);
|
||||
# users.users."leana".extraGroups = ["vboxusers"];
|
||||
# }
|
||||
];
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue