Oxidise shell, fix remote build for local switch
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@
|
||||
};
|
||||
|
||||
addition.starship.enable = true;
|
||||
addition.oxidise.enable = true;
|
||||
};
|
||||
|
||||
browser.zen.enable = true;
|
||||
|
||||
@@ -88,6 +88,8 @@ in {
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"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;
|
||||
|
||||
Reference in New Issue
Block a user