summaryrefslogtreecommitdiff
path: root/hosts/users.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2024-07-21 01:49:04 +0700
committerpolwex <polwex@sortug.com>2024-07-21 01:49:04 +0700
commite64f7a78e01e5fa661471cb518cc71fc33223b5a (patch)
tree691c444cf66e2f9d1ee63e4589ed09ec502baa3b /hosts/users.nix
parent0816d59542658a62928050ef5f08e1460e554959 (diff)
m
Diffstat (limited to 'hosts/users.nix')
-rw-r--r--hosts/users.nix59
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 {
};
};
}
-
-