Add Docker and good wine config
This commit is contained in:
parent
5296f8f998
commit
46685e2ca0
@ -50,10 +50,16 @@ in
|
||||
LC_TIME = "zh_TW.UTF-8";
|
||||
};
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "ibus";
|
||||
ibus.engines = with pkgs.ibus-engines; [ rime ];
|
||||
};
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
# Vulkan Support
|
||||
hardware.opengl.enable = true;
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
@ -93,12 +99,28 @@ in
|
||||
# Enable ISO mounting
|
||||
services.udisks2.enable = true;
|
||||
|
||||
# Virtualbox virtualization
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
virtualbox = {
|
||||
host = {
|
||||
enable = true;
|
||||
enableExtensionPack = true;
|
||||
};
|
||||
guest = {
|
||||
enable = true;
|
||||
x11 = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
users.extraGroups.vboxusers.members = [ "vchapuis" ];
|
||||
virtualisation.virtualbox.guest.enable = true;
|
||||
virtualisation.virtualbox.guest.x11 = true;
|
||||
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
@ -112,6 +134,7 @@ in
|
||||
|
||||
packages = with pkgs; [
|
||||
firefox-bin
|
||||
chromium
|
||||
pavucontrol
|
||||
xorg.xeyes
|
||||
element-desktop
|
||||
@ -137,6 +160,9 @@ in
|
||||
hunspell
|
||||
vlc
|
||||
samba4Full
|
||||
godot_4
|
||||
telegram-desktop
|
||||
anydesk
|
||||
|
||||
# thunderbird
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user