remove vmware horizon

This commit is contained in:
Sean Buckley 2024-05-04 23:02:37 -04:00
parent 0250709801
commit 44db2ce0b4
3 changed files with 0 additions and 25 deletions

View file

@ -6,7 +6,6 @@ in
sconfig = { sconfig = {
gnome = true; gnome = true;
desktop.enable = true; desktop.enable = true;
horizon.enable = true;
wg-home.enable = true; wg-home.enable = true;
}; };

View file

@ -18,7 +18,6 @@ in
sconfig = { sconfig = {
gnome = true; gnome = true;
desktop.enable = true; desktop.enable = true;
horizon.enable = true;
wg-home = { enable = true; path = "${persist}/wireguard_home.conf"; }; wg-home = { enable = true; path = "${persist}/wireguard_home.conf"; };
}; };

View file

@ -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 ];
};
}