This commit is contained in:
biscuit
2025-05-13 16:26:47 -05:00
parent 387cc54577
commit b93b0a6dd5
3 changed files with 18 additions and 7 deletions
-1
View File
@@ -14,7 +14,6 @@
home.packages = [
];
home.sessionVariables = {
ZSH_CUSTOM = "/home/biscuit/Nixos/packages/zsh/custom/plugins";
};
programs.git.enable = true;
+15 -3
View File
@@ -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 = [
pkgs.lazygit
pkgs.ripgrep
];
home.file.".config/nvim" = {
# BUG requires --impure
source = /home/biscuit/Nixos/packages/nvim/nvchad;
# source = /home/biscuit/Nixos/packages/nvim/nvchad;
source = nvimSource;
recursive = 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.
}
+3 -3
View File
@@ -8,7 +8,7 @@
programs.oh-my-posh.enable = true;
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;
};
@@ -39,8 +39,8 @@
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake /home/biscuit/Nixos/#biscuit";
hupd = "home-manager switch --flake /home/biscuit/Nixos/#biscuit --impure";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
hupd = "home-manager switch --flake ~/Nixos/#biscuit --impure";
};
history.size = 10000;
oh-my-zsh = {