From 7c63474ac717c0e80acb37e9f9ecc1af6f046b24 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 3 Mar 2025 01:49:45 -0500 Subject: [PATCH] Variablize username in Envy --- hosts/envy/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/envy/default.nix b/hosts/envy/default.nix index 86dbc07..e7034fc 100644 --- a/hosts/envy/default.nix +++ b/hosts/envy/default.nix @@ -24,12 +24,14 @@ stateVersion = "24.11"; }; + # Services to make this work as a school laptop services.globalprotect.enable = true; virtualisation.vmware.host.enable = true; nixpkgs.allowUnfreePackages = [ "vmware-workstation" ]; + environment.persistence."/persist".directories = [ - "/home/jimbo/.vmware" - "/home/jimbo/vmware" + "/home/${config.sysusers.main}/vmware" + "/home/${config.sysusers.main}/.vmware" ]; }