upd
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
home.packages = [
|
home.packages = [
|
||||||
];
|
];
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
ZSH_CUSTOM = "/home/biscuit/Nixos/packages/zsh/custom/plugins";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
|||||||
@@ -1,14 +1,26 @@
|
|||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
nvimSource = pkgs.fetchFromGitea {
|
||||||
|
domain = "git.sakamoto.dev";
|
||||||
|
owner = "kenji";
|
||||||
|
repo = "nvim";
|
||||||
|
rev = "5fc3341ac43b35fd4032c07925927d7f1e82886c";
|
||||||
|
sha256 = "sha256-YbP814fKOFuCWBRwlccd4nx/h8sdMgiJQu54thRLsK8=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.lazygit
|
pkgs.lazygit
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".config/nvim" = {
|
home.file.".config/nvim" = {
|
||||||
# BUG requires --impure
|
# BUG requires --impure
|
||||||
source = /home/biscuit/Nixos/packages/nvim/nvchad;
|
# source = /home/biscuit/Nixos/packages/nvim/nvchad;
|
||||||
|
source = nvimSource;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
|
# Example use: provide it as a source
|
||||||
|
# You could pass `nvimSource` to a program, or maybe use it in home.file, etc.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
programs.oh-my-posh.enable = true;
|
programs.oh-my-posh.enable = true;
|
||||||
|
|
||||||
home.file.".config/oh-my-posh/config.omp.json" = {
|
home.file.".config/oh-my-posh/config.omp.json" = {
|
||||||
source = /home/biscuit/Nixos/packages/zsh/custom/config.omp.json;
|
source = ./custom/config.omp.json;
|
||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
upd = "sudo nixos-rebuild switch --flake /home/biscuit/Nixos/#biscuit";
|
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
|
||||||
hupd = "home-manager switch --flake /home/biscuit/Nixos/#biscuit --impure";
|
hupd = "home-manager switch --flake ~/Nixos/#biscuit --impure";
|
||||||
};
|
};
|
||||||
history.size = 10000;
|
history.size = 10000;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
|
|||||||
Reference in New Issue
Block a user