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 = [ imports = [
./starship ./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";
};
};
};
}
+1
View File
@@ -24,6 +24,7 @@
}; };
addition.starship.enable = true; addition.starship.enable = true;
addition.oxidise.enable = true;
}; };
browser.zen.enable = true; browser.zen.enable = true;
+2
View File
@@ -88,6 +88,8 @@ in {
]; ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBcGhVpjmWEw1GEw0y/ysJPa2v3+u/Rt/iES/Se2huH2 alexander0derevianko@gmail.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBcGhVpjmWEw1GEw0y/ysJPa2v3+u/Rt/iES/Se2huH2 alexander0derevianko@gmail.com"
# This is fujin root user ssh key, it needs to be updated if fujin is reinstalled
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDbNm8WiTyYxEv0Hb9V/E84WH3fiCwWeYG9da8sDaU0V root@nixos"
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;