mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 19:30:51 +01:00
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:
parent
341d3aeae5
commit
19a42793b5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user