work
This commit is contained in:
parent
a7b5834741
commit
f249af9583
4 changed files with 1789 additions and 7 deletions
1764
config/zsh/p10k.zsh
Normal file
1764
config/zsh/p10k.zsh
Normal file
File diff suppressed because it is too large
Load diff
|
@ -11,7 +11,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
davinci-resolve
|
||||
sako.davinci-resolve
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue