diff --git a/hosts/hp/default.nix b/hosts/hp/default.nix index ecb5935..48eda11 100644 --- a/hosts/hp/default.nix +++ b/hosts/hp/default.nix @@ -6,7 +6,6 @@ in sconfig = { gnome = true; desktop.enable = true; - horizon.enable = true; wg-home.enable = true; }; diff --git a/hosts/levi/default.nix b/hosts/levi/default.nix index ab31093..68754d0 100644 --- a/hosts/levi/default.nix +++ b/hosts/levi/default.nix @@ -18,7 +18,6 @@ in sconfig = { gnome = true; desktop.enable = true; - horizon.enable = true; wg-home = { enable = true; path = "${persist}/wireguard_home.conf"; }; }; diff --git a/modules/horizon.nix b/modules/horizon.nix deleted file mode 100644 index b1ec9cb..0000000 --- a/modules/horizon.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.sconfig.horizon; -in -{ - options.sconfig.horizon.enable = lib.mkEnableOption "Enable vmware-horizon"; - - config = lib.mkIf cfg.enable - { - systemd.services.vmware-usbarbitrator = { - serviceConfig.Type = "forking"; - wantedBy = [ "multi-user.target" ]; - script = "${pkgs.vmware-horizon-client}/bin/vmware-usbarbitrator"; - preStart = '' - vdir="/var/run/vmware/$(id -u sean)" - mkdir -p $vdir - chmod 700 $vdir - chown sean $vdir - ''; - }; - environment.systemPackages = [ pkgs.vmware-horizon-client ]; - }; -}