Compare commits

...

2 Commits

Author SHA1 Message Date
b4ebe00dce Add missing podman-compose to podman setup 2024-03-30 15:41:37 +08:00
46685e2ca0 Add Docker and good wine config 2024-03-27 22:31:43 +08:00

View File

@@ -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
];
@@ -156,6 +182,7 @@ in
gcc
ttf-tw-moe
noto-fonts-cjk-serif
podman-compose
];
environment.etc."udisks2/mount_options.conf".text = '' [defaults]