chore: More misc fixes!
This commit is contained in:
@@ -58,6 +58,7 @@ in
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
user.name = "jmug";
|
||||
users.users.jmug = {
|
||||
isNormalUser = true;
|
||||
description = "Mariano Uvalle";
|
||||
|
||||
@@ -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}";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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)";
|
||||
|
||||
Reference in New Issue
Block a user