diff --git a/config/omen.nix b/config/omen.nix index 8bf83b3..8bfa888 100644 --- a/config/omen.nix +++ b/config/omen.nix @@ -49,6 +49,9 @@ services.xserver.dpi = 96; environment.variables.GDK_SCALE = "0.5"; + # Ignore laptop lid closing when connected to power. + services.logind.lidSwitchExternalPower = "ignore"; + # Enable VMWare Workstation virtualisation.vmware.host.enable = true; diff --git a/home/zsh.nix b/home/zsh.nix index 0f9f370..17ab7a9 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -15,9 +15,9 @@ cd = "z"; ls = "eza"; update-darwin = "darwin-rebuild switch --flake ~/dotfiles"; - update-conf = "sudo nixos-rebuild switch --flake ~/dotfiles"; + update-config = "sudo nixos-rebuild switch --flake ~/dotfiles"; update-home = "home-manager switch --flake ~/dotfiles"; - update-all = "update-conf && update-home"; + update-all = "update-config && update-home"; }; initExtraBeforeCompInit = ''