zsh experimenting

This commit is contained in:
2026-07-01 20:04:02 +01:00
parent 3609e42d8f
commit b4350f2dae
5 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
{ ... }:
{
flake.dots.zshrc = pkgs: ''
source ${pkgs.carapace}/share/carapace-bin/bash-preexec.sh
export PATH="${pkgs.carapace}/bin:$PATH"
alias ls="${pkgs.eza}/bin/eza"
'';
}

View File

@@ -4,8 +4,9 @@
...
}: {
flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.core
modules = with self.nixosModules; [
core
hackstationConfiguration
];
};
}

View File

@@ -0,0 +1,9 @@
{
self,
inputs,
...
}: {
perSystem = {pkgs, ...}: {
packages.myZsh = {inputs.wrappers.wrappers.zsh.zshrc.content = (self.dots.zshrc pkgs);};
};
}