module based approach, trying to work on qemu virt?

This commit is contained in:
2026-06-18 18:51:58 -05:00
parent 0667034c69
commit 57f459b8f8
9 changed files with 293 additions and 5 deletions
+40
View File
@@ -0,0 +1,40 @@
{ config, pkgs, ... }:
{
programs.bash = {
enable = true;
shellAliases = {
cd = "z";
cat = "bat";
ocat = "\cd"; # The \ is used to prevent alias expansion in the alias definition
docker = "podman";
ls = "eza --icons";
ols = "\ls";
kubectx = "kubectl config use-context";
# Nix Stuff
nrs = "sudo nixos-rebuild switch --flake ~/Dotfiles#laptop";
update = "nix flake update --flake ~/Dotfiles#laptop";
upgrade = "update && nrs";
# Single Letter Aliases
v = "nvim";
};
initExtra = ''
eval "$(zoxide init bash)"
source ${pkgs.carapace}/share/bash/carapace.bash
export EDITOR=nvim
'';
# Just to make sure pkgs are installed
home.packages = with pkgs; [
bat
eza
zoxide
carapace
neovim
kubectl
];
}
}