mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove vmware horizon
This commit is contained in:
parent
0250709801
commit
44db2ce0b4
3 changed files with 0 additions and 25 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue