Compare commits
2 commits
34de9f555b
...
0238ad32b9
Author | SHA1 | Date | |
---|---|---|---|
0238ad32b9 | |||
77e09e2191 |
2 changed files with 14 additions and 8 deletions
|
@ -26,6 +26,16 @@
|
|||
prezto.enable = true;
|
||||
autocd = true;
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-z";
|
||||
file = "zsh-z.plugin.zsh";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "agkozak";
|
||||
repo = "zsh-z";
|
||||
rev = "dc9e2bc0cdbaa0a507371c248d3dcc9f58db8726";
|
||||
sha256 = "sha256-T0iZK9Tb7ExJaZ6e2UmwecnKHMQilwAPkyAa/uhqrw0=";
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "zsh-nix-shell";
|
||||
file = "nix-shell.plugin.zsh";
|
||||
|
@ -38,11 +48,6 @@
|
|||
}
|
||||
];
|
||||
initExtra = ''
|
||||
source ${pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/agkozak/zsh-z/master/zsh-z.plugin.zsh";
|
||||
sha256 = "8be9f089d8bb596a2679f9127f37276a8c1aeba9b5047456923d49eb2af61156";
|
||||
}}
|
||||
|
||||
# SSH agent
|
||||
eval $(${pkgs.openssh}/bin/ssh-agent) > /dev/null
|
||||
trap 'test -n "$SSH_AUTH_SOCK" && eval $(${pkgs.openssh}/bin/ssh-agent -k)' 0
|
||||
|
|
|
@ -22,8 +22,8 @@ in
|
|||
];
|
||||
|
||||
virtualisation = {
|
||||
#podman.enable = true;
|
||||
#podman.dockerCompat = true;
|
||||
podman.enable = true;
|
||||
podman.dockerCompat = true;
|
||||
# libvirtd.enable = true;
|
||||
# spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
@ -165,9 +165,10 @@ in
|
|||
PCIE_ASPM_ON_BAT = "powersupersave";
|
||||
RUNTIME_PM_ON_BAT = "1";
|
||||
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "64";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
|
||||
CPU_BOOST_ON_BAT = "0";
|
||||
CPU_BOOST_ON_AC = "1";
|
||||
CPU_HWP_DYN_BOOST_ON_BAT = "0";
|
||||
SCHED_POWERSAVE_ON_BAT = "1";
|
||||
NMI_WATCHDOG = "0";
|
||||
|
|
Loading…
Reference in a new issue