diff options
author | Alan Pearce | 2023-08-16 21:02:13 +0200 |
---|---|---|
committer | Alan Pearce | 2023-08-16 21:04:50 +0200 |
commit | e6cc62fdc2f5e1c978dc875fd27fb023bb3f5c7b (patch) | |
tree | 62fedaf29e23d2358f3827f7f17e64fe70d30b9b | |
parent | ed692b6bfe0bef5769ce202cd690e5e35718ceee (diff) | |
download | nixfiles-e6cc62fdc2f5e1c978dc875fd27fb023bb3f5c7b.tar.lz nixfiles-e6cc62fdc2f5e1c978dc875fd27fb023bb3f5c7b.tar.zst nixfiles-e6cc62fdc2f5e1c978dc875fd27fb023bb3f5c7b.zip |
Switch to fish shell
-rw-r--r-- | system/settings/programs/shell.nix | 1 | ||||
-rw-r--r-- | user/mba.nix | 1 | ||||
-rw-r--r-- | user/settings/fish.nix | 19 |
3 files changed, 21 insertions, 0 deletions
diff --git a/system/settings/programs/shell.nix b/system/settings/programs/shell.nix index 2bca33be..3c8c3f4f 100644 --- a/system/settings/programs/shell.nix +++ b/system/settings/programs/shell.nix @@ -25,4 +25,5 @@ programs.fish = { enable = true; }; + users.users.alan.shell = pkgs.fish; } diff --git a/user/mba.nix b/user/mba.nix index 7f14eeea..ecbe3a32 100644 --- a/user/mba.nix +++ b/user/mba.nix @@ -6,6 +6,7 @@ ./settings/development/web.nix ./settings/darwin.nix ./settings/emacs.nix + ./settings/fish.nix ./settings/git.nix ./settings/nixpkgs.nix ./settings/ssh.nix diff --git a/user/settings/fish.nix b/user/settings/fish.nix new file mode 100644 index 00000000..6ebd3add --- /dev/null +++ b/user/settings/fish.nix @@ -0,0 +1,19 @@ +{ pkgs +, ... +}: { + programs.fish = { + enable = true; + plugins = [ + { + name = "tide"; + src = pkgs.fetchFromGitHub { + # https://github.com/IlanCosman/tide + owner = "IlanCosman"; + repo = "tide"; + rev = "a3426e157f94b8a9cb5bcf96946b1e55625a1948"; + sha256 = "1fwqmsrd6bpf67rgj6f362abjmpk6q8yynyskc4niwg3g15diqq5"; + }; + } + ]; + }; +} |