mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-05 10:01:37 +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";
|
hostAddress = "192.168.100.10";
|
||||||
localAddress = "192.168.100.11";
|
localAddress = "192.168.100.11";
|
||||||
|
|
||||||
bindMounts = {
|
|
||||||
waylandDisplay = rec {
|
|
||||||
hostPath = "/run/user/1000";
|
|
||||||
mountPoint = hostPath;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
@ -393,40 +386,16 @@
|
|||||||
ripgrep
|
ripgrep
|
||||||
gcc
|
gcc
|
||||||
trashy
|
trashy
|
||||||
mullvad-browser
|
|
||||||
alacritty
|
|
||||||
logseq
|
|
||||||
feh
|
|
||||||
wget
|
wget
|
||||||
exa
|
exa
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
gdu
|
gdu
|
||||||
ranger
|
ranger
|
||||||
wofi
|
|
||||||
lf
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = { TERM = "xterm-kitty"; };
|
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.mutableUsers = false;
|
||||||
users.allowNoPasswordLogin = true;
|
users.allowNoPasswordLogin = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user