Changed to update-config; don't power off latop when screen closed

This commit is contained in:
Random936 2024-07-30 19:21:24 -07:00
parent 5304170d10
commit 79d452468f
2 changed files with 5 additions and 2 deletions

View File

@ -49,6 +49,9 @@
services.xserver.dpi = 96; services.xserver.dpi = 96;
environment.variables.GDK_SCALE = "0.5"; environment.variables.GDK_SCALE = "0.5";
# Ignore laptop lid closing when connected to power.
services.logind.lidSwitchExternalPower = "ignore";
# Enable VMWare Workstation # Enable VMWare Workstation
virtualisation.vmware.host.enable = true; virtualisation.vmware.host.enable = true;

View File

@ -15,9 +15,9 @@
cd = "z"; cd = "z";
ls = "eza"; ls = "eza";
update-darwin = "darwin-rebuild switch --flake ~/dotfiles"; 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-home = "home-manager switch --flake ~/dotfiles";
update-all = "update-conf && update-home"; update-all = "update-config && update-home";
}; };
initExtraBeforeCompInit = '' initExtraBeforeCompInit = ''