diff --git a/modules/core/common.nix b/modules/core/common.nix index 8da191a..3658978 100644 --- a/modules/core/common.nix +++ b/modules/core/common.nix @@ -19,7 +19,7 @@ ncc = "sudo nixos-rebuild switch --upgrade-all --flake \"$(readlink -f /etc/nixos)\""; nup = "sudo nix-channel --update"; ngc = "sudo nix-collect-garbage -d"; - nda = "nixos-rebuild --flake path:$(readlink -f /etc/nixos).#APPA --build-host root@dryb.org --target-host root@dryb.org switch"; + nda = "nixos-rebuild --flake path:\"$(readlink -f /etc/nixos)\"#APPA --build-host root@dryb.org --target-host root@dryb.org switch"; dcup = "docker-compose up --detach --remove-orphans"; dka = "docker kill $(docker ps -q)"; diff --git a/modules/core/power.nix b/modules/core/power.nix index 9ff432a..3d4ea8a 100644 --- a/modules/core/power.nix +++ b/modules/core/power.nix @@ -23,7 +23,7 @@ default = { # performance | powersave CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + CPU_SCALING_GOVERNOR_ON_BAT = "performance"; # performance | balance_performance | default | balance_power | power CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power";