This commit is contained in:
Sakooooo 2023-07-15 21:39:22 +03:00
parent a7b5834741
commit f249af9583
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 1789 additions and 7 deletions

1764
config/zsh/p10k.zsh Normal file

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@ in
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
davinci-resolve
sako.davinci-resolve
];
nixpkgs.config.permittedInsecurePackages = [

View file

@ -21,11 +21,29 @@ in
programs.zsh = {
enable = true;
enableCompletion = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "powerlevel10k" ];
theme = "powerlevel10k";
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.7.0";
sha256 = "oQpYKBt0gmOSBgay2HgbXiDoZo5FoUKwyHSlUrOAP5E=";
};
}
{
file = "powerlevel10k.zsh-theme";
name = "powerlevel10k";
src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k";
}
{
file = "p10k.zsh";
name = "powerlevel10k-config";
src = ../../../config/zsh/p10k.zsh; # Some directory containing your p10k.zsh file
}
];
#initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
};
};

View file

@ -3,5 +3,5 @@
{ pkgs ? (import ../nixpkgs.nix) { } }: {
# example = pkgs.callPackage ./example { };
davinci-resolve = pkgs.callPackage ./davinci-resolve.nix {};
sako.davinci-resolve = pkgs.callPackage ./davinci-resolve.nix {};
}