modules/home/programs/shell/fish.nix: add joshuto alias

hosts/dunamis/users.nix: concat in the function

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-31 23:08:07 +03:00
parent 23acb87339
commit 50d5b54150
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@
... ...
}: let }: let
sopSec = config.sops.secrets; sopSec = config.sops.secrets;
s = inputs.mysecrets;
in { in {
nix.settings.trusted-users = ["user" "nix-ssh"]; nix.settings.trusted-users = ["user" "nix-ssh"];
users.mutableUsers = false; users.mutableUsers = false;
@ -14,7 +15,7 @@ in {
extraGroups = ["wheel" "video" "libvirtd" "dialout"]; extraGroups = ["wheel" "video" "libvirtd" "dialout"];
isNormalUser = true; isNormalUser = true;
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keyFiles = map (f: "${inputs.mysecrets}/ssh/" + f) [ openssh.authorizedKeys.keyFiles = map (f: s + "/ssh/" + f) [
"id_ed25519_sarien_user.pub" "id_ed25519_sarien_user.pub"
"id_ed25519_eldrid_user.pub" "id_ed25519_eldrid_user.pub"
]; ];

View File

@ -36,11 +36,12 @@ in {
cd = "z"; cd = "z";
ed = "$EDITOR"; ed = "$EDITOR";
jf = "jj-fzf"; # think of jeff jf = "jj-fzf"; # think of jeff
jo = "joshuto"; # think of josh
l = "ls -lah"; l = "ls -lah";
la = "ls -ah"; la = "ls -ah";
ll = "ls -lh"; ll = "ls -lh";
s = "systemctl";
p = "pueue"; p = "pueue";
s = "systemctl";
}; };
shellAbbrs = { shellAbbrs = {
pa = "pueue add --"; pa = "pueue add --";