This commit is contained in:
Michael Thomas 2021-05-27 13:19:38 -04:00
commit 480c70856d
6 changed files with 46 additions and 4 deletions

View File

@ -5,6 +5,7 @@
../../modules/home-manager.nix ../../modules/home-manager.nix
../../modules/fonts.nix ../../modules/fonts.nix
../../modules/git.nix ../../modules/git.nix
../../modules/git_nixos.nix
../../modules/gnome.nix ../../modules/gnome.nix
../../modules/vscode.nix ../../modules/vscode.nix
../../modules/zsh.nix ../../modules/zsh.nix

View File

@ -0,0 +1,3 @@
{
allowUnfree = true;
}

View File

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
imports = [
../../modules/home-manager.nix
../../modules/git.nix
../../modules/zsh.nix
];
home.packages = with pkgs; [
neofetch
pfetch
fortune
];
programs.zsh.shellAliases = {
code = "/mnt/c/Program\\ Files/Microsoft\\ VS\\ Code/Code.exe";
};
}

View File

@ -7,11 +7,7 @@
# Use pkgs.gitAndTools.gitFull in order to get libsecret support # Use pkgs.gitAndTools.gitFull in order to get libsecret support
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.gitAndTools.gitFull;
userEmail = "michaelhthomas@outlook.com"; userEmail = "michaelhthomas@outlook.com";
userName = "Michael Thomas"; userName = "Michael Thomas";
extraConfig = {
credential.helper = "libsecret";
};
}; };
} }

View File

@ -0,0 +1,10 @@
{ config, pkgs, libs, ... }:
{
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
programs.git = {
package = pkgs.gitAndTools.gitFull;
extraConfig = {
credential.helper = "libsecret";
};
};
}

View File

@ -2,6 +2,18 @@
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.1.0";
sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx";
};
}
];
prezto = { prezto = {
enable = true; enable = true;
pmodules = [ pmodules = [