feat: made fish the default shell and a few other things
This commit is contained in:
parent
737ee75da0
commit
a8120c85dc
5 changed files with 29 additions and 8 deletions
modules/applications/shells
1
modules/applications/shells/aliases.nix
Normal file
1
modules/applications/shells/aliases.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ ls = "exa -l"; }
|
|
@ -1,7 +1 @@
|
|||
{ ... }: {
|
||||
imports = [ ./sessionVariables.nix ];
|
||||
home-manager.users.adrielus.programs = {
|
||||
zsh.enable = true;
|
||||
fish.enable = true;
|
||||
};
|
||||
}
|
||||
{ pkgs, ... }: { imports = [ ./sessionVariables.nix ./fish.nix ]; }
|
||||
|
|
13
modules/applications/shells/fish.nix
Normal file
13
modules/applications/shells/fish.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
let shellAliases = import ./aliases.nix;
|
||||
in {
|
||||
home-manager.users.adrielus.programs.fish = {
|
||||
inherit shellAliases;
|
||||
|
||||
enable = true;
|
||||
# plugins = [{
|
||||
# name = "agnoster";
|
||||
# src = pkgs.agnoster;
|
||||
# }];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue