add vbox host to laptop and desktop

This commit is contained in:
2024-10-18 15:05:38 +02:00
parent 59348a96ac
commit 18b10f3929
4 changed files with 8 additions and 5 deletions

View File

@ -17,14 +17,11 @@
networking.networkmanager.enable = lib.mkDefault true;
# Set your time zone.
time.timeZone = "Europe/Paris";
services.xserver.enable = true;
services.xserver.displayManager.startx.enable = true;
# Enable sound.
# hardware.pulseaudio.enable = true;
services.pipewire = {
enable = true;
pulse.enable = true;
@ -32,7 +29,6 @@
# Enable touchpad support (enabled default in most desktopManager). services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.tom = {
isNormalUser = true;
extraGroups = [ "wheel" ];
@ -40,7 +36,6 @@
# packages = with pkgs; [];
};
# List packages installed in system profile. To search,: $ nix search wget
environment.systemPackages = with pkgs; [
home-manager
killall

View File

@ -5,6 +5,7 @@
imports = [
modules/game.nix
modules/nvidia.nix
modules/vboxHost.nix
];
networking.hostName = "nixos-fixe";

View File

@ -4,6 +4,7 @@
imports = [
modules/game.nix
modules/nvidia.nix
modules/vboxHost.nix
];
networking.hostName = "patate-douce";
networking.wireless.enable = true;

View File

@ -0,0 +1,6 @@
{ config, lib, inputs, pkgs, ... }:
{
virtualisation.virtualbox.host.enable = true;
users.users.tom.extraGroups = [ "vboxusers" ];
}