diff options
| author | seth <[email protected]> | 2023-02-22 02:22:10 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-22 02:22:10 -0500 |
| commit | 01ccb0cead584733e6c89fcad44c441fe05bc5c7 (patch) | |
| tree | 54703a80882ed366b237c27f88b858f3106eb0e3 /users/seth/shell | |
| parent | 9c4a04054f5c72c3c66973b0bea06d10e042947c (diff) | |
switch back to alejandra
nixpkgs-fmt is weird...
Diffstat (limited to 'users/seth/shell')
| -rw-r--r-- | users/seth/shell/bash.nix | 2 | ||||
| -rw-r--r-- | users/seth/shell/default.nix | 2 | ||||
| -rw-r--r-- | users/seth/shell/fish.nix | 19 | ||||
| -rw-r--r-- | users/seth/shell/zsh.nix | 7 |
4 files changed, 16 insertions, 14 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix index 03f4985..f086ec4 100644 --- a/users/seth/shell/bash.nix +++ b/users/seth/shell/bash.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{config, ...}: { programs.bash = { enable = true; historyFile = "${config.xdg.stateHome}/bash/history"; diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix index 263bd22..3872731 100644 --- a/users/seth/shell/default.nix +++ b/users/seth/shell/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{config, ...}: { imports = [ ./bash.nix ./fish.nix diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix index a0a3046..b017f03 100644 --- a/users/seth/shell/fish.nix +++ b/users/seth/shell/fish.nix @@ -1,22 +1,23 @@ -{ pkgs, ... }: { - +{pkgs, ...}: { xdg.configFile."fish/themes" = { recursive = true; source = pkgs.fetchFromGitHub - { - owner = "catppuccin"; - repo = "fish"; - rev = "b90966686068b5ebc9f80e5b90fdf8c02ee7a0ba"; - sha256 = "sha256-wQlYQyqklU/79K2OXRZXg5LvuIugK7vhHgpahpLFaOw="; - } + "/themes"; + { + owner = "catppuccin"; + repo = "fish"; + rev = "b90966686068b5ebc9f80e5b90fdf8c02ee7a0ba"; + sha256 = "sha256-wQlYQyqklU/79K2OXRZXg5LvuIugK7vhHgpahpLFaOw="; + } + + "/themes"; }; programs.fish = { enable = true; interactiveShellInit = '' fish_config theme choose "Catppuccin Mocha" - ''; + direnv hook fish | source + ''; plugins = [ { name = "autopair-fish"; diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix index dd2b58c..c6b7ee1 100644 --- a/users/seth/shell/zsh.nix +++ b/users/seth/shell/zsh.nix @@ -1,6 +1,7 @@ -{ config -, pkgs -, ... +{ + config, + pkgs, + ... }: { programs.zsh = { enable = false; |
