Remove wayland support from containers

This was cute, but I really don't want to worry about the implications
of software sharing the same Wayland socket as the host.
This commit is contained in:
Donovan Glover 2023-05-11 19:02:50 -04:00
parent 341d3aeae5
commit 19a42793b5
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -368,13 +368,6 @@
hostAddress = "192.168.100.10";
localAddress = "192.168.100.11";
bindMounts = {
waylandDisplay = rec {
hostPath = "/run/user/1000";
mountPoint = hostPath;
};
};
config = { config, pkgs, ... }: {
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
@ -393,40 +386,16 @@
ripgrep
gcc
trashy
mullvad-browser
alacritty
logseq
feh
wget
exa
fd
fzf
gdu
ranger
wofi
lf
];
environment.variables = { TERM = "xterm-kitty"; };
environment.sessionVariables = {
WAYLAND_DISPLAY = "wayland-1";
QT_QPA_PLATFORM = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";
XDG_RUNTIME_DIR = "/run/user/1000";
DISPLAY = ":1";
};
services.xserver.enable = true;
hardware.opengl = {
enable = true;
extraPackages = hostCfg.hardware.opengl.extraPackages;
};
users.mutableUsers = false;
users.allowNoPasswordLogin = true;