Oxidise shell, fix remote build for local switch

This commit is contained in:
Alexander
2025-08-03 19:31:31 +02:00
parent 8ff196ca71
commit 19b2d7517a
4 changed files with 41 additions and 0 deletions
+1
View File
@@ -3,5 +3,6 @@
{
imports = [
./starship
./oxidise
];
}
@@ -0,0 +1,37 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.shell.addition.oxidise;
in {
options.dov.shell.addition.oxidise = {
enable = mkEnableOption "oxidise config";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
fd
bat
eza
dust
dua # graphical tui du
];
programs.zoxide = {
enable = true;
enableZshIntegration = config.dov.shell.zsh.enable;
};
dov.shell.zsh = mkIf config.dov.shell.zsh.enable {
shellAliases = {
find = mkForce "fd";
cat = mkForce "bat";
ls = mkForce "eza";
cd = mkForce "z";
du = mkForce "dust";
};
};
};
}