bash ~ zsh wip
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
shellType = config.my.shell.type;
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
nixfmt-rfc-style # formatting
|
||||
@@ -31,7 +32,7 @@ in
|
||||
};
|
||||
config = lib.mkIf config.my.dev.nix.enable {
|
||||
users.users.jawz = { inherit packages; };
|
||||
home-manager.users.jawz.programs.bash.shellAliases = {
|
||||
home-manager.users.jawz.programs.${shellType}.shellAliases = {
|
||||
nixformat = ''
|
||||
nix run unstable#deadnix -- -e && \
|
||||
nix run unstable#nixfmt-tree && \
|
||||
|
||||
Reference in New Issue
Block a user