containers: Remove graphical option

It seems like everything works fine without this, so this wasn't
(or is no longer) necessary.
This commit is contained in:
Donovan Glover
2024-09-01 16:33:04 -04:00
parent 64c5b9d38d
commit 2a3a3db055
2 changed files with 1 additions and 5 deletions

View File

@ -14,8 +14,6 @@ let
sakayaPort = 39493; sakayaPort = 39493;
in in
{ {
modules.desktop.graphical = true;
networking = { networking = {
nat.forwardPorts = singleton { nat.forwardPorts = singleton {
destination = "192.168.100.49:${sakayaPort}"; destination = "192.168.100.49:${sakayaPort}";

View File

@ -24,7 +24,6 @@ let
bloat bloat
opacity opacity
fontSize fontSize
graphical
; ;
inherit (pkgs) inherit (pkgs)
@ -57,7 +56,6 @@ in
}; };
bloat = mkEnableOption "GUI applications"; bloat = mkEnableOption "GUI applications";
graphical = mkEnableOption "xserver for graphical containers";
}; };
config = { config = {
@ -102,7 +100,7 @@ in
}; };
}; };
xserver = mkIf (!isContainer || graphical) { xserver = mkIf (!isContainer) {
enable = true; enable = true;
excludePackages = with pkgs; [ xterm ]; excludePackages = with pkgs; [ xterm ];