diff options
Diffstat (limited to 'hosts/users.nix')
-rw-r--r-- | hosts/users.nix | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/hosts/users.nix b/hosts/users.nix index 6c5394b..e6ba45f 100644 --- a/hosts/users.nix +++ b/hosts/users.nix @@ -1,33 +1,34 @@ -{ config, pkgs, ... }: - - -let shellAliases = { - l = "lsd -lAh"; - la = "lsd -lAh"; - ports = "sudo lsof -i -P -n | grep LISTEN"; - gco = "git checkout"; - gcob = "git checkout -b"; - v = "nvim"; - sv = "sudo nvim"; - dotsin = "sh ~/dotfiles/commit.sh"; - sourceit = ". (sed 's/^/export /' .env | psub)"; - sqlite = "rlwrap sqlite3"; - # rsyn = "rsync -zuvaP --filter=':- .gitignore'" -}; - +{ + config, + pkgs, + ... +}: let + shellAliases = { + l = "lsd -lAh"; + la = "lsd -lAh"; + ports = "sudo lsof -i -P -n | grep LISTEN"; + gco = "git checkout"; + gcob = "git checkout -b"; + v = "nvim"; + sv = "sudo nvim"; + dotsin = "sh ~/dotfiles/commit.sh"; + sourceit = ". (sed 's/^/export /' .env | psub)"; + sqlite = "rlwrap sqlite3"; + # rsyn = "rsync -zuvaP --filter=':- .gitignore'" + }; in { programs.fish = { - inherit shellAliases; - enable = true; - shellInit = '' - if not functions -q fisher - echo "no fisher" - curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source - end - ''; - # fisher install jorgebucaran/fisher - # fisher install IlanCosman/tide@v6 -}; + inherit shellAliases; + enable = true; + # shellInit = '' + # if not functions -q fisher + # echo "no fisher" + # curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source + # end + # ''; + # fisher install jorgebucaran/fisher + # fisher install IlanCosman/tide@v6 + }; users = { users = { @@ -51,5 +52,3 @@ in { }; }; } - - |