started splitting up graphical programs because some of them don't really work well on ubuntu
This commit is contained in:
@@ -60,15 +60,24 @@
|
||||
description = "Whether to enable docker stuff";
|
||||
};
|
||||
|
||||
options.graphical = lib.mkOption {
|
||||
options.graphical.discord = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether this system has a graphical environment";
|
||||
};
|
||||
|
||||
options.steam = lib.mkOption {
|
||||
options.graphical.ghostty = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
options.graphical.steam = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether this system has Steam installed";
|
||||
};
|
||||
|
||||
options.graphical.vscode = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
programs.steam = lib.mkIf config.steam {
|
||||
programs.steam = lib.mkIf config.graphical.steam {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
|
||||
Reference in New Issue
Block a user