chore: More misc fixes!

This commit is contained in:
jmug
2026-11-20 13:49:35 -08:00
parent 3d3276e9c4
commit b192e41653
18 changed files with 32 additions and 711 deletions
+1
View File
@@ -58,6 +58,7 @@ in
};
programs.zsh.enable = true;
user.name = "jmug";
users.users.jmug = {
isNormalUser = true;
description = "Mariano Uvalle";
+2 -3
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... } :
{ config, pkgs, homeConfigurationName, ... } :
{
@@ -22,8 +22,7 @@
shellAliases = {
lg = "lazygit";
n = "nvim";
# TODO: Interpolate the hostname here.
nrsw = "nixos-rebuild switch --flake /etc/nixos#devbox";
nrsw = "nixos-rebuild switch --flake /etc/nixos#${homeConfigurationName}";
};
};
+2 -8
View File
@@ -4,6 +4,7 @@
pkgs,
ssh-agent-switcher,
user,
homeConfigurationName,
...
} :
let
@@ -99,15 +100,8 @@ EOF
programs.zsh = {
shellAliases = {
# TODO BEGIN Interpolate the name of the host here.
# flakeconf = "sudo nvim /etc/nixos/flake.nix";
# nosconf = "sudo nvim /etc/nixos/hosts/devbox/configuration.nix";
# homeconf = "sudo nvim /etc/nixos/hosts/devbox/home.nix";
# nvconf = "sudo nvim /etc/nixos/home-modules/explicit-configs/nvim/init.lua";
# TODO END Interpolate the name of the host here.
rshellconf = "source ~/.zshrc";
# TODO: Interpolate the name of the host here.
nrsw = "sudo nixos-rebuild switch --flake /home/jmug/nixos#devbox";
nrsw = "sudo nixos-rebuild switch --flake ${homeDirectory}/nixos#${homeConfigurationName}";
fly = "flyctl";
awsmfa = "eval $(aws-cli-mfa)";
uawsmfa = "eval $(aws-cli-mfa --unset)";