refractor shell configurations with flake-parts

This commit is contained in:
Danilo Reyes
2025-10-12 13:51:45 -06:00
parent 6f97b24115
commit 11fd8e0440
5 changed files with 34 additions and 44 deletions

View File

@@ -1,5 +1,6 @@
{
config,
inputs,
lib,
pkgs,
...
@@ -33,7 +34,7 @@ in
};
config = lib.mkIf config.my.dev.nix.enable {
users.users.jawz = { inherit packages; };
home-manager.users.jawz.programs.${shellType}.shellAliases = {
home-manager.users.jawz.programs.${shellType}.shellAliases = inputs.self.lib.mergeAliases inputs.self.lib.commonAliases {
nixformat = ''
deadnix -e && \
nix run nixpkgs#nixfmt-tree && \