diff --git a/configurations/hosts/magames-desktop/configuration.nix b/configurations/hosts/magames-desktop/configuration.nix index 85b0752..12e045b 100644 --- a/configurations/hosts/magames-desktop/configuration.nix +++ b/configurations/hosts/magames-desktop/configuration.nix @@ -8,6 +8,10 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + + ../../../modules/tg-connectors/magames-desktop.nix + ../../../modules/network/twingate.nix + ../../../modules/programs/appimage.nix ]; catppuccin = { @@ -231,11 +235,6 @@ services.twingate.enable = true; - programs.appimage = { - enable = true; - binfmt = true; - }; - virtualisation.virtualbox.host.enable = true; users.extraGroups.vboxusers.members = [ "magames" ]; diff --git a/modules/hosts/magames-desktop/default.nix b/modules/hosts/magames-desktop/default.nix deleted file mode 100644 index 8e4a7f0..0000000 --- a/modules/hosts/magames-desktop/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ inputs, config, lib, pkgs, ... }: - -{ - imports = [ - ./docker.nix - ../../network/twingate.nix - ]; -} diff --git a/modules/programs/appimage.nix b/modules/programs/appimage.nix new file mode 100644 index 0000000..7ad123a --- /dev/null +++ b/modules/programs/appimage.nix @@ -0,0 +1,8 @@ +{ inputs, config, lib, pkgs, ... }: + +{ + programs.appimage = { + enable = true; + binfmt = true; + }; +} diff --git a/modules/hosts/magames-desktop/docker.nix b/modules/tg-connectors/magames-desktop.nix similarity index 100% rename from modules/hosts/magames-desktop/docker.nix rename to modules/tg-connectors/magames-desktop.nix