Skip to content

Commit

Permalink
users: zoxide for every user
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Jun 18, 2023
1 parent 1501890 commit 628a7cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
3 changes: 0 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
inputs = {
# Non-flake inputs
swaywm = { url = "github:swaywm/sway"; flake = false; };
zsh-f-sy-h = { url = "github:zdharma-continuum/fast-syntax-highlighting"; flake = false; };

# Flake inputs
agenix.url = "github:ryantm/agenix";
flake-parts.url = "github:hercules-ci/flake-parts";
emacs.url = "github:nix-community/emacs-overlay";
darwin.url = "github:lnl7/nix-darwin/master";
doom.url = "github:nix-community/nix-doom-emacs";
ff-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
home.url = "github:nix-community/home-manager";
hyprland.url = "github:hyprwm/hyprland";
nix.url = "github:nixos/nix";
Expand Down Expand Up @@ -41,7 +39,6 @@
darwin.inputs.nixpkgs.follows = "nixpkgs";
doom.inputs.nixpkgs.follows = "nixpkgs";
emacs.inputs.nixpkgs.follows = "nixpkgs";
ff-addons.inputs.nixpkgs.follows = "nixpkgs";
home.inputs.nixpkgs.follows = "nixpkgs";
hyprland.inputs.nixpkgs.follows = "nixpkgs";
nix.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
5 changes: 0 additions & 5 deletions users/moni/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,5 @@
fish_add_path -m /run/current-system/sw/bin
fish_add_path -m /Users/moni/.nix-profile/bin
'';

zoxide = {
enable = true;
enableFishIntegration = config.programs.fish.enable;
};
};
}
21 changes: 3 additions & 18 deletions users/shared/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,24 +94,9 @@
settings = import ./config/starship.nix;
};

zsh = {
enable = !pkgs.stdenv.isDarwin;
autocd = true;
enableAutosuggestions = true;

history = {
expireDuplicatesFirst = true;
extended = true;
save = 50000;
};

initExtra = ''
# You should comment this out, this is useless without my private key
. /run/agenix/github-token
'';

plugins = [{ name = "fast-syntax-highlighting"; src = inputs.zsh-f-sy-h; }];
shellAliases = import ./config/sh-aliases.nix;
zoxide = {
enable = true;
enableFishIntegration = config.programs.fish.enable;
};

fish = {
Expand Down

0 comments on commit 628a7cd

Please sign in to comment.