zsh experimenting
This commit is contained in:
9
modules/dots/zsh/default.nix
Normal file
9
modules/dots/zsh/default.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
@@ -4,8 +4,9 @@
|
||||
...
|
||||
}: {
|
||||
flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
self.nixosModules.core
|
||||
modules = with self.nixosModules; [
|
||||
core
|
||||
hackstationConfiguration
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
9
modules/pacakges/zsh/default.nix
Normal file
9
modules/pacakges/zsh/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.myZsh = {inputs.wrappers.wrappers.zsh.zshrc.content = (self.dots.zshrc pkgs);};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user