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
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 1 additions and 5 deletions

View File

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

View File

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