mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-10 15:27:48 +02:00
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:
@ -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}";
|
||||||
|
@ -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 ];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user