diff --git a/hosts/voyager/default.nix b/hosts/voyager/default.nix index f46c610..1702653 100644 --- a/hosts/voyager/default.nix +++ b/hosts/voyager/default.nix @@ -64,13 +64,9 @@ ".config/WebCord" ".local/share/Smart Code ltd/Stremio" ".config/obs-studio" - ".config/VirtualBox" - ".local/share/VirtualBox VMs" - - # Games ".local/share/PrismLauncher" - ".local/share/Steam" - #".steam" + ".config/VirtualBox" + ".local/share/VirtulBox VMs" # Tools ".ssh" @@ -225,7 +221,6 @@ python.enable = true; }; games = { - steam.enable = true; prismlauncher.enable = true; }; }; diff --git a/options/home/programs/default.nix b/options/home/programs/default.nix index 4490585..1f637ce 100644 --- a/options/home/programs/default.nix +++ b/options/home/programs/default.nix @@ -64,7 +64,6 @@ in }; games = { - steam.enable = mkEnableOption "Steam client"; prismlauncher.enable = mkEnableOption "PrismLauncher"; }; }; diff --git a/system/roles/workstation/programs/default.nix b/system/roles/workstation/programs/default.nix index fc41a58..10f2500 100644 --- a/system/roles/workstation/programs/default.nix +++ b/system/roles/workstation/programs/default.nix @@ -3,7 +3,5 @@ ./misc.nix ./physlock.nix ./thunar.nix - ./virtualbox.nix - ./steam.nix ]; } diff --git a/system/roles/workstation/programs/steam.nix b/system/roles/workstation/programs/steam.nix deleted file mode 100644 index 02843ff..0000000 --- a/system/roles/workstation/programs/steam.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - lib, - config, - ... -}: let - inherit (lib) mkIf; - cfg = config.myOptions.home-manager.programs.games.steam; - deviceType = config.myOptions.device.roles.type; - acceptedTypes = ["laptop" "desktop"]; -in { - config = mkIf ((builtins.elem deviceType acceptedTypes) && cfg.enable) { - programs.steam = { - enable = true; - remotePlay.openFirewall = false; - dedicatedServer.openFirewall = false; - }; - }; -} - diff --git a/system/roles/workstation/programs/virtualbox.nix b/system/roles/workstation/programs/virtualbox.nix deleted file mode 100644 index a890e84..0000000 --- a/system/roles/workstation/programs/virtualbox.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - lib, - config, - ... -}: let - inherit (lib) mkIf; - cfgUser = config.myOptions.system.username; - cfg = config.myOptions.home-manager.programs.applications.virtualbox; - deviceType = config.myOptions.device.roles.type; - acceptedTypes = ["laptop" "desktop"]; -in { - config = mkIf ((builtins.elem deviceType acceptedTypes) && cfg.enable) { - virtualisation.virtualbox.host = { - enable = true; - - # Don't include the Qt dependency and GUI app, - # if gui is desired, it can be installed separately on a per-user basis - headless = true; - }; - - users.extraGroups.vboxusers.members = [ "${cfgUser}" ]; - }; -}