better consistency, add dotfiles for takamaki and new features
This commit is contained in:
35 files changed
+2455
-190
No files matched your search
@@ -1,9 +1,11 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.homeModules.takamaki = { config, pkgs, ... }: {
|
||||
programs.zsh.shellAliases = {
|
||||
apply-config = "zsh -c 'cd ${config.info.rootPath}; git add .; home-manager switch --flake .#takamaki -b bak'";
|
||||
apply-config-trace = "zsh -c 'cd ${config.info.rootPath}; git add .; home-manager switch --flake .#takamaki -b bak --show-trace'";
|
||||
update-config = "zsh -c 'cd ${config.info.rootPath}; git add .; nix flake update; home-manager switch --flake .#takamaki -b bak'";
|
||||
flake.homeModules."grey@takamaki" = { config, pkgs, ... }: {
|
||||
programs.zsh.shellAliases = let
|
||||
mkConfigCommand = args: "zsh -c 'cd ${config.info.rootPath}; git add .; nh home switch ${args} -b bak'";
|
||||
in {
|
||||
apply-config = mkConfigCommand "";
|
||||
trace-config = mkConfigCommand "-t";
|
||||
update-config = mkConfigCommand "-u";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user