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";
|
LC_TIME = "zh_TW.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enabled = "ibus";
|
||||||
|
ibus.engines = with pkgs.ibus-engines; [ rime ];
|
||||||
|
};
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
# Vulkan Support
|
# Vulkan Support
|
||||||
|
hardware.opengl.enable = true;
|
||||||
hardware.opengl.driSupport = true;
|
hardware.opengl.driSupport = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
@ -93,12 +99,28 @@ in
|
|||||||
# Enable ISO mounting
|
# Enable ISO mounting
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
|
|
||||||
# Virtualbox virtualization
|
virtualisation = {
|
||||||
virtualisation.virtualbox.host.enable = true;
|
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" ];
|
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).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
@ -112,6 +134,7 @@ in
|
|||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox-bin
|
firefox-bin
|
||||||
|
chromium
|
||||||
pavucontrol
|
pavucontrol
|
||||||
xorg.xeyes
|
xorg.xeyes
|
||||||
element-desktop
|
element-desktop
|
||||||
@ -137,6 +160,9 @@ in
|
|||||||
hunspell
|
hunspell
|
||||||
vlc
|
vlc
|
||||||
samba4Full
|
samba4Full
|
||||||
|
godot_4
|
||||||
|
telegram-desktop
|
||||||
|
anydesk
|
||||||
|
|
||||||
# thunderbird
|
# thunderbird
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user