summaryrefslogtreecommitdiff
path: root/hosts/mac/m1mba/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/mac/m1mba/users.nix')
-rw-r--r--hosts/mac/m1mba/users.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/hosts/mac/m1mba/users.nix b/hosts/mac/m1mba/users.nix
new file mode 100644
index 0000000..10eceac
--- /dev/null
+++ b/hosts/mac/m1mba/users.nix
@@ -0,0 +1,43 @@
+{ 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)";
+ rebuild = "darwin-rebuild switch --flake ~/dotfiles/nixos/mac";
+};
+
+in {
+ programs.fish = {
+ inherit shellAliases;
+ enable = true;
+# plugins = [{
+# name="foreign-env";
+# src = pkgs.fetchFromGitHub {
+# owner = "oh-my-fish";
+# repo = "plugin-foreign-env";
+# rev = "dddd9213272a0ab848d474d0cbde12ad034e65bc";
+# sha256 = "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs";
+# };
+# }];
+};
+
+ users = {
+ users = {
+ y = {
+ createHome = true;
+ home = "/home/y";
+ shell = pkgs.fish;
+ };
+ };
+ };
+}
+
+