change default user shell to fish
This commit is contained in:
parent
f3d5f8e5d7
commit
8b9ab0b215
2 changed files with 22 additions and 14 deletions
|
|
@ -5,6 +5,20 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
shellAliases = {
|
||||||
|
ls = "eza";
|
||||||
|
lsa = "ls -A";
|
||||||
|
ll = "ls -lh";
|
||||||
|
lla = "ls -lAh";
|
||||||
|
h = "hx";
|
||||||
|
g = "git";
|
||||||
|
cd = "z";
|
||||||
|
tree = "eza --tree";
|
||||||
|
".." = "cd ..";
|
||||||
|
"..." = "cd ../..";
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.homeManagerModules.dotfiles
|
self.homeManagerModules.dotfiles
|
||||||
|
|
@ -45,18 +59,12 @@
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
shellAliases = {
|
inherit shellAliases;
|
||||||
ls = "eza";
|
};
|
||||||
lsa = "ls -A";
|
|
||||||
ll = "ls -lh";
|
programs.fish = {
|
||||||
lla = "ls -lAh";
|
enable = true;
|
||||||
h = "hx";
|
inherit shellAliases;
|
||||||
g = "git";
|
|
||||||
cd = "z";
|
|
||||||
tree = "eza --tree";
|
|
||||||
".." = "cd ..";
|
|
||||||
"..." = "cd ../..";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."git".source = "${config.dotfiles.path}/.config/git";
|
xdg.configFile."git".source = "${config.dotfiles.path}/.config/git";
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
description = "Romain Paquet";
|
description = "Romain Paquet";
|
||||||
|
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.fish;
|
||||||
|
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze"
|
||||||
|
|
@ -17,5 +17,5 @@
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.fish.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue