From 72fa26867c97bc23b4e2a52341ba335e443d31ff Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 25 Feb 2025 11:50:54 -0500 Subject: [PATCH] Laptop changes --- hosts/envy/default.nix | 9 ++++++++- hosts/envy/users/main/default.nix | 12 +++++------- hosts/kitty/users/main/default.nix | 1 - .../devices/disks/impermanence/main/default.nix | 3 +-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/hosts/envy/default.nix b/hosts/envy/default.nix index dd0ba70..7a6367d 100644 --- a/hosts/envy/default.nix +++ b/hosts/envy/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ lib, ... }: { imports = [ ./disko @@ -23,5 +23,12 @@ stateVersion = "24.11"; }; + # Special options services.globalprotect.enable = true; + virtualisation.vmware.host.enable = true; + nixpkgs.allowUnfreePackages = [ "vmware-workstation" ]; + environment.persistence."/persist".directories = [ + "/home/jimbo/.vmware" + "/home/jimbo/vmware" + ]; } diff --git a/hosts/envy/users/main/default.nix b/hosts/envy/users/main/default.nix index f1daff7..b4d550f 100644 --- a/hosts/envy/users/main/default.nix +++ b/hosts/envy/users/main/default.nix @@ -1,11 +1,9 @@ { config, lib, ... }: { - home-manager.users."${config.sysusers.main}" = { - home = { - desktop.enable = true; - remote-desktop.enable = true; - school.enable = true; - stateVersion = lib.mkForce "24.11"; - }; + home-manager.users."${config.sysusers.main}".home = { + desktop.enable = true; + remote-desktop.enable = true; + school.enable = true; + stateVersion = lib.mkForce config.system.stateVersion; }; } diff --git a/hosts/kitty/users/main/default.nix b/hosts/kitty/users/main/default.nix index bbe7e61..9366cad 100644 --- a/hosts/kitty/users/main/default.nix +++ b/hosts/kitty/users/main/default.nix @@ -1,7 +1,6 @@ { config, lib, ... }: { home-manager.users."${config.sysusers.main}".home = { - desktop.enable = false; stateVersion = lib.mkForce config.system.stateVersion; }; } diff --git a/modules/system/devices/disks/impermanence/main/default.nix b/modules/system/devices/disks/impermanence/main/default.nix index 668d85f..cca8d2c 100644 --- a/modules/system/devices/disks/impermanence/main/default.nix +++ b/modules/system/devices/disks/impermanence/main/default.nix @@ -24,7 +24,6 @@ ".local/share/mpd" ".local/share/nvim/undo" - ".local/share/fractal" ".local/share/PrismLauncher" ".local/share/Steam" ".local/share/TelegramDesktop" @@ -40,7 +39,7 @@ files = [ ".zsh_history" ".local/state/lazygit/state.yml" - ".local/share/applications" # Create this so nothing gets generated inside of it + ".local/share/applications" # Create directory so nothing generates inside of it ]; }; };