Skip to content

Commit

Permalink
move zsh stuff from backup
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 23, 2021
1 parent bbf24bd commit dc3d012
Show file tree
Hide file tree
Showing 17 changed files with 41 additions and 17 deletions.
1 change: 1 addition & 0 deletions dotfiles/default.nix
Expand Up @@ -14,5 +14,6 @@
./xmonad
./xsession
./zoom
./zsh
];
}
29 changes: 13 additions & 16 deletions backup/dotfiles/zsh.nix → dotfiles/zsh/default.nix
@@ -1,21 +1,18 @@
{ pkgs, ... }:

let
sources = import ../nix/sources.nix;

extras = [
./zsh/elm.zsh
./zsh/find-and-edit.zsh
./zsh/git.zsh
./zsh/jetpack.zsh
./zsh/jump.zsh
./zsh/kill.zsh
./zsh/nix.zsh
./zsh/nixify.sh
./zsh/root.zsh
./zsh/rubofix.zsh
./zsh/scripts.zsh
./zsh/search.zsh
./elm.zsh
./find-and-edit.zsh
./git.zsh
./jetpack.zsh
./jump.zsh
./kill.zsh
./nix.zsh
./nixify.sh
./root.zsh
./rubofix.zsh
./scripts.zsh
./search.zsh
];

extraInitExtra =
Expand All @@ -32,7 +29,7 @@ in {

plugins = [{
name = "fzf-tab";
src = sources.fzf-tab;
src = pkgs.fzf-tab;
}];

initExtra = ''
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions flake.nix
Expand Up @@ -10,6 +10,11 @@
url = "github:tmux/tmux";
flake = false;
};

fzf-tab = {
url = "github:Aloxaf/fzf-tab";
flake = false;
};
};

outputs = inputs: {
Expand All @@ -29,6 +34,9 @@
);

git-gclone = final.callPackage ./pkgs/git-gclone {};

# is this going to cause problems by not actually being a package?
fzf-tab = inputs.fzf-tab;
};

nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem {
Expand Down
3 changes: 2 additions & 1 deletion nixos/brian/default.nix
@@ -1,6 +1,7 @@
{ ... }: {
{ pkgs, ... }: {
users.users.brian = {
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
};

Expand Down

0 comments on commit dc3d012

Please sign in to comment.