1
0
Fork 0

Added zsh modules. Changed color of Ophanim's shell prompt. Added aditional driver package to Lilim.

This commit is contained in:
Kevin Baensch 2019-03-26 22:45:54 +01:00
parent f6aed0e2a1
commit 6fe0cbebe2
3 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@ mkIf (elem "zsh" config.machine.conffiles) {
syntaxHighlighting.enable = true;
ohMyZsh = {
enable = true;
plugins = [ "git" "python" "man" ];
plugins = [ "cabal" "docker" "gitfast" "python" "pip" "sudo" "systemd" "man" ];
theme = "gentoo";
};
};

View File

@ -35,9 +35,9 @@ in {
enableKSM = true;
opengl = {
driSupport = true;
extraPackages = with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ];
extraPackages = with pkgs; [ intel-media-driver libvdpau-va-gl vaapiIntel vaapiVdpau ];
driSupport32Bit = true;
extraPackages32 = with pkgs.pkgsi686Linux; [ vaapiIntel libvdpau-va-gl vaapiVdpau ];
extraPackages32 = with pkgs.pkgsi686Linux; [ libvdpau-va-gl vaapiIntel vaapiVdpau ];
};
pulseaudio = {
@ -60,6 +60,7 @@ in {
enable = true;
cpuFreqGovernor = "powersave";
};
services.upower.enable = true;
time.timeZone = "Europe/Berlin";
}

View File

@ -19,7 +19,7 @@
# userlist = [];
# };
services.haveged.enable = true;
programs.zsh.interactiveShellInit = "PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[cyan]%}%n@)%m %{$fg_bold[magenta]%}%(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '"
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you