mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01: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:
parent
64c5b9d38d
commit
2a3a3db055
@ -14,8 +14,6 @@ let
|
||||
sakayaPort = 39493;
|
||||
in
|
||||
{
|
||||
modules.desktop.graphical = true;
|
||||
|
||||
networking = {
|
||||
nat.forwardPorts = singleton {
|
||||
destination = "192.168.100.49:${sakayaPort}";
|
||||
|
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user